gvim and vietnamese unicode file display problem.
Dear list,
I am using gvim and want to edit a vietnamese unicode file. The problem is
that certain characters are not properly displayed. I'd be really helpful to
hints/pointers/explanations as to how I can display the data file correctly.
My installation is debian sarge, I'm running kernel 2.4.27. I open vi, type
":set encoding=utf-8" and ":e vietnamese-utf16".
Here's the file that I want to display (encoded in 2 different versions).
(use "xxd -r input.txt > vietnamese-utf16" to restore)
0000000: fffe 4300 a51e 7500 2000 6b00 6900 c71e ..C...u. .k.i...
0000010: 6e00 3a00 2000 4800 e300 6d00 2000 6700 n.:. .H...m. .g.
0000020: 6900 f300 0d00 0a00 4e00 bf1e 7500 2000 i.......N...u. .
0000030: 6300 f400 6e00 6700 2000 7400 af1e 6300 c...n.g. .t...c.
0000040: 2000 7400 a101 2000 6300 f300 0d00 0a00 .t... .c.......
(use "uudecode input.txt" to restore)
begin 700 vietnamese-utf16
M__Y#`*4>=0`@`&L`:0#''FX`.@`@`$@`XP!M`"``9P!I`/,`#0`*`$X`OQYU
C`"``8P#T`&X`9P`@`'0`KQYC`"``=`"A`2``8P#S``T`"@``
`
end
Cheers,
--tte.
Reply to: