On Thu, Mar 04, 2004 at 11:35:49AM +0100, Laurent CARON wrote: > I've got a problem with european (mainly german / spanish characteres in > my ldap directory). > I'm able to input such letters using GQ, but when I try to display these > letters using perl i've got strange things (??) on the output. > How may I solve this?
If you are using Debian (as seen in your mail header), you can use this guide to enable UTF-8 (or latin-1, etc.) on your system: http://melkor.dnp.fmph.uniba.sk/~garabik/debian-utf8/HOWTO/howto.html Basically you should do 'dpkg-reconfigure locales', select the locales you want, and then export these to your environment, eg. 'export LANG=en_US.UTF-8'. If the used applications have support for UTF-8 (and you have the needed font sets) then you should now be able to display UTF-8 characters. To indicate the use of UTF-8 characters in webpages, use a line like this in the html header: <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> Jama Poulsen http://debianlinux.net
