(07/19/09 05:25), Bram Moolenaar-san wrote:
> Can you please explain for each entry why it should be added?

+    {"ms932",          IDX_CP932},

MS932 is added in glibc/iconvdata/gconv-modules

+    {"windows-31j",    IDX_CP932},

WINDOWS-31J is added in glibc/iconvdata/gconv-modules
WINDOWS-31J is also registered in IANA.

+    {"cswindows-31j",  IDX_CP932},

CWINDOWS-31J is added in glibc/iconvdata/gconv-modules

+    {"shift-jisx0213", IDX_CP932},

SHIFT_JISX0213 is added in glibc/iconvdata/shift_jisx0213.c

+    {"sjis-win",       IDX_CP932},

SJIS_WIN is added in glibc/iconvdata/gconv-modules

+    {"sjis-open",      IDX_CP932},

SJIS_OPEN is added in glibc/iconvdata/gconv-modules

+    {"pck",            IDX_CP932},

PCK is a Solaris encoding.

+    {"euc-jisx0213",   IDX_EUC_JP},

EUC_JISX0213 is added in glibc/iconvdata/euc-jisx0213.c

+    {"cseucpkdfmtjapanese",    IDX_EUC_JP},

CSEUCPKDFMTJAPANESE is added in glibc/iconvdata/gconv-modules

+    {"osf00030010",    IDX_EUC_JP},

OSF00030010 is added in glibc/iconvdata/gconv-modules

+    {"euc-jp-ms",      IDX_EUC_JP},

EUC_JP_MS is added in glibc/iconvdata/euc-jp-ms.c

+    {"eucjp-ms",       IDX_EUC_JP},

EUCJP-MS is added in glibc/iconvdata/gconv-modules

+    {"eucjp-open",     IDX_EUC_JP},

EUCJP-OPEN is added in glibc/iconvdata/gconv-modules

+    {"eucjp-win",      IDX_EUC_JP},

EUCJP-WIN is added in glibc/iconvdata/gconv-modules

+    {"csshiftjis",     IDX_SJIS},

CSSHIFTJIS is added in glibc/iconvdata/gconv-modules

+    {"ms-kanji",       IDX_SJIS},

MS-KANJI is added in glibc/iconvdata/gconv-modules

+    {"ansi-1251",      IDX_CP1251},

ANSI-1251 is a Solaris encoding.

Actually vim doesn't have some charsets, e.g. "shift-jisx0213" is not IDX_CP932 
exactly. However adding the similar alias names would help users 
instead of falling back to a ISO.
I would think the additional charsets might not effect the performance of vim 
so much. So if the suggested charsets are upstreamed, it would be nice.
I'll provide the patched binaries to users as they request the feature.

Thanks,
fujiwara

> Preferably with a reference to where the encoding name is being used.
>
> I know there are many character sets that are similar, but not exactly
> the same.  It's always difficult to decide if we should add an alias
> then.
>


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui