19550110 Solaris 11: can't display SJIS characters with vi/vim/less s11u2-sru
authorJiri Kukacka <jiri.kukacka@oracle.com>
Wed, 18 Mar 2015 16:27:01 +0100
branchs11u2-sru
changeset 4041 da985d6374c2
parent 4040 e2a56338b7c1
child 4042 47ca3bebfdee
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 Mar 18 16:27:01 2015 +0100
@@ -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},