* Jakson A. Aquino <[EMAIL PROTECTED]> [2006-06-19 21:45]: > On Tue, Jun 20, 2006 at 12:31:51AM +0200, Rafael Laboissiere wrote: > > I tried the above but it does not work for me. How should I set my > > locale variables such that it works? > > By default, the UTF-8 locales aren't available in a Debian > installation. To set my locale to UTF-8, I run "dpkg-reconfigure > locales" and replaced the ISO-8859-1 entries with UTF-8 ones. But > it's possible to have both pt_BR.ISO-8859-1 and pt_BR.UTF-8 in the > same system. I also put the following lines in my .bashrc: > > export LANGUAGE=pt_BR.UTF-8 > export LANG=pt_BR.UTF-8 > > Perhaps the above lines are unnecessary in my case because I no longer > have the ISO-8859-1 locale. I also had to change the settings of some > applications, and the following web page was useful: > > http://melkor.dnp.fmph.uniba.sk/~garabik/debian-utf8/HOWTO/howto.html
Thanks for the instruction but I cannot replicate your findings. I need a precise cookbook. Here is what I did: $ dpkg-reconfigure locales # Here I have activated pt_BR.UTF-8 $ cd /var/tmp $ cp /usr/bin/conjugue . $ cp /usr/lib/brazilian-conjugate/verbos . $ recode l1..utf8 conjugue $ recode l1..utf8 verbos $ perl -pi -e 's|/usr/lib/brazilian-conjugate|.|' conjugue $ LC_ALL=pt_BR.UTF-8 LC_CTYPE=pt_BR.UTF-8 LANGUAGE=pt_BR.UTF-8 LANG=pt_BR.UTF-8 ./conjugue The last command gives the 200 lines of error messages that you observed before. Is this the case for you too? I am wondering whether gawk (which is the /etc/alternative/awk in my system) supports UTF-8. Cheers, -- Rafael -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]