19550110 Solaris 11: can't display SJIS characters with vi/vim/less s11-update
authorJan Noha <jan.noha@oracle.com>
Wed, 21 Jan 2015 04:16:38 -0800
branchs11-update
changeset 3773 2cdfec77a8eb
parent 3769 d867aacebb01
child 3777 68aef260e079
19550110 Solaris 11: can't display SJIS characters with vi/vim/less
components/vim/patches/ja_JP.PCK.patch
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/vim/patches/ja_JP.PCK.patch	Wed Jan 21 04:16:38 2015 -0800
@@ -0,0 +1,15 @@
+A fix by Keiichi Oono <[email protected]>:
+ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.520
+
+---
+diff --git src/mbyte.c src/mbyte.c
+--- src/mbyte.c
++++ src/mbyte.c
[email protected]@ -405,6 +405,7 @@ enc_alias_table[] =
+     {"unix-jis",	IDX_EUC_JP},
+     {"ujis",		IDX_EUC_JP},
+     {"shift-jis",	IDX_SJIS},
++    {"pck",		IDX_SJIS},	/* Sun: PCK */
+     {"euckr",		IDX_EUC_KR},
+     {"5601",		IDX_EUC_KR},	/* Sun: KS C 5601 */
+     {"euccn",		IDX_EUC_CN},