Kaixo! On Fri, Jan 09, 2004 at 01:02:00PM +0100, Jan Willem Stumpel wrote: > 2. But the Linux console is not. If on the console I say e.g. > > echo � >test.txt (or cat >test.txt, �, return, control-D) > > the � character is in test.txt in its Latin-1 version (0xE9), > not its UTF-8 version (0xC3 0xA9). Is this standard behaviour?
The linux console has indeed to be set to utf-8 mode. Also, there is a problem when typing non-ascii characters (it's possible, but cumbersome, you need to type several times the letter; for typing latin1 chars for exemple, I need to press 3 times the key (the two extra key pressings can be done on any alphanumeric key, it doesn't matter). I can also type the letter and one non-alphanumeric key, then delete the garbage put by the escape sequences. It's also true for the composed chars (eg: dead_acute + e; or or compose + ' + e); but strangely, not for compose + < + < (�) or compose + o + e (oe ligature) which work directly... I don't know why that difference. -- Ki �a vos v�ye b�n, Pablo Saratxaga http://chanae.walon.org/pablo/ PGP Key available, key ID: 0xD9B85466 [you can write me in Walloon, Spanish, French, English, Italian or Portuguese]
pgp00000.pgp
Description: PGP signature
