On 2003-11-26 11:16:41 +0000 MJ Ray mjr@dsl.pipex.com wrote:
On 2003-11-25 20:43:00 +0000 Brett Parker brettp@users.sourceforge.net wrote:
half a day at work trying to get Chinese encoded in UTF-8 to damned well display correctly on my linux box... oh, and something to edit it in... gotta bolt a website round it, which would be easy *IF* I could get an editor to play with it...
I think the only editors I have that play properly with UTF-8 are Ink, QEmacs and Wily. VILE does a reasonable job, but you can tell that it's really confused about the number of characters (as it counts 1 of my UTF-8 characters as 2 characters sometimes). I'm sure I'm missing some UTF-8/MULE magic in Emacs and it should work, but I've not looked too closely yet. Wily needed some sacrifice before I could input UTF-8 characters, although it displayed them fine.
Ahh - now my only problem is that the font uxterm uses hasn't got all the characters, otherwise I'd be well away. LANG=zh_CN.UTF-8 is fun, and vim apparently appears to understand it and cheerfully display all it's stuff in chinese at me :) Maybe I should just tell it en_GB.UTF-8 :)
Cheers,
Brett