one point of clarification: the correcly functioning fedora console
vim binaries were run under x11 (rxvt-unicode) with appropriate
truetype fonts.

-x

On 3/5/07, Mike Li <[EMAIL PROTECTED]> wrote:
gvim 7.0 (patches 1-205) under windows xp, built with the mingw
compiler under cygwin (gcc -mno-cygwin), can not display ucs-2 text
files. see below for the xxd-dump of an ucs-2 text file containing a
single chinese character (U+6c38):

0000000: 6c 38 00 0d 00 0a                                l8....

the same problem is seen with the little-endian (ucs-2le) version of
the same file:

0000000: 38 6c 0d 00 0a 00                                8l....

the presence or absence of a BOM (byte order marker) at the beginning
of the file does not make a difference. the issue is also seen with
gvim from the original windows binary distribution.

console vim 7.0 (patches 1-205) under fedora core 6, built with gcc
4.0, works fine with '++enc=ucs-2'. the original binary from the yum
package vim-enhanced-7.0.201-1.fc6 also works fine.

-x

Reply via email to