Hi,

I've seen this thrown around a few forums, but Im yet to get a definitive
answer. Sadly, I'll own up to my lack of knowledge surrounding UTF-8. I
know the theory, but somewhat lost on the practice!

Basically, im getting strange characters in some applications when I try to
type a uk pound symbol. I can type it at the command line okay, but trying
it in 'vi' or 'nano' produces strange characters.

On my RHEL4.4 box, shell/vi/nano works fine, and /etc/sysconfig/i18n
contains:
[EMAIL PROTECTED] # cat /etc/sysconfig/i18n 
LANG="en_GB.UTF-8"
SUPPORTED="en_GB.UTF-8:en_GB:en:en_US.UTF-8:en_US:en"
SYSFONT="latarcyrheb-sun16"

On my RHEL5 box, vi/nano breaks with the default /etc/sysconfig/il8n:
[EMAIL PROTECTED] # cat /etc/sysconfig/i18n 
LANG="en_US.UTF-8"
SYSFONT="latarcyrheb-sun16"

However, after some trawling, I stumbled across en_GB.iso885915. If I type
"export LANG="en_GB.iso885915" (or use it in il8n config file), then
everything works. However, Im not sure on the consequences of this, so I
thought I would (hopefully) find out from someone who knows more about
UTF-8 and character sets in general.

At first I thought maybe vi/nano had been built without UTF-8 support, but:
# nano -V
 GNU nano version 1.3.12 (compiled 12:56:04, Jul 12 2006)
 Email: [EMAIL PROTECTED]    Web: http://www.nano-editor.org/
 Compiled options: --enable-color --enable-extra --enable-multibuffer
--enable-nanorc --enable-utf8

So, I've kind of solved the problem, but I'd be interested to hear if
someone could shine some light on the specifics of the cause. Or, whether
this will cause me headaches in the future!

Thanks,
Bryan


_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to