Yukihiro Nakadaira wrote:

> test83.in is encoded in utf-8.
> test83-tags[23] are encoded in cp932 (aka Windows-31J).

when i open any of these 3 files with "gvim -u NONE -U NONE",
the fileencoding is utf-8 which looks wrong for the tags files.

if i do ":set fileencoding=cp932" while editing the tags files,
the display doesn't change.

> Does iconv() support cp932?
> 
> :set encoding=utf-8
> :echo iconv("\x82\x60", "cp932", "utf-8") == "\uff21"
> 1   (if cp932 is supported)

yes. it outputs "1"

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui