less and LESSCHARSET=latin1 and scandinavian chars are &

Gordon Messmer yinyang at eburg.com
Mon Dec 1 01:54:18 UTC 2003


Jani Ollikainen wrote:
> On Sun, Nov 30, 2003 at 01:57:11PM -0800, Gordon Messmer wrote:
> 
>>That's exactly the logic.  If you use a UTF-8 locale, then you no longer 
>>need any additional "special" locale settings for stuff to work right.
> 
> 
> ($:~) cat /etc/sysconfig/i18n
> LANG="C"
> LC_CTYPE="fi_FI at euro"
...
> ($:~) echo -n ä>thingie
> ($:~) ls -la thingie
> -rw-r--r--    1 bestis   users           1 Dec  1 00:54 thingie
> 
> Where's the UTF-8? Seems only 1 byte to me.

You tell me.  That doesn't look like a Fedora-installed i18n file to me:

[gordon at vagabond:~]$ cat /etc/sysconfig/i18n
LANG="en_US.UTF-8"
SUPPORTED="en_US.UTF-8:en_US:en:ja_JP.UTF-8:ja_JP:ja"
SYSFONT="latarcyrheb-sun16"

Your LANG should probably be set to fi_FI.UTF-8.  Once you fix it, 
you'll have to log out and probably restart gdm to get your X session in 
  a UTF-8 locale.





More information about the fedora-list mailing list