Re: charset="Windows-31J"

NAKAJI Hiroyuki <[email protected]>
Newsgroups gmane.emacs.gnus.semi.japanese
Message-ID <[email protected]>

>>>>> In [semi-gnus-ja : No.20375] 
>>>>>	Katsumi Yamaoka <[email protected]> wrote:

>  charset 

> http://www2d.biglobe.ne.jp/~msyk/charcode/cp932/Windows-31J-charset.html

> shift_jis  cp932 (Emacs 22 ) 
> ?

Wikipedia Windows-31J == CP932 

http://ja.wikipedia.org/wiki/Microsoft%E6%BC%A2%E5%AD%97%E3%82%B3%E3%83%BC%E3%83%89



http://www2d.biglobe.ne.jp/~msyk/charcode/cp932/index.html

IANA  Windows-31J  Windows Codepage 932
shift_jis  cp932 

Microsoft KB260818 

Also note that the following aliases in builds later than the 3200 series will be mapped to the MS932 encoding rather than "SJIS".

   "shift_jis"       --> "MS932"
   "ms_kanji"        --> "MS932"
   "csshiftjis"      --> "MS932"
   "windows-31j"     --> "MS932"
   "cswindows31j"    --> "MS932"

Microsoft VM 



Index: ChangeLog
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/ChangeLog,v
retrieving revision 7.1301
diff -u -u -r7.1301 ChangeLog
--- ChangeLog	14 Jul 2006 03:51:32 -0000	7.1301
+++ ChangeLog	16 Jul 2006 12:21:53 -0000
@@ -1,3 +1,8 @@
+2006-07-16  NAKAJI Hiroyuki  <[email protected]>
+
+	* mm-util.el (mm-charset-override-alist): Map "windows-31j" to
+	"cp932".
+
 2006-07-14  Andreas Seltenreich  <[email protected]>
 
 	* gnus-start.el (gnus-subscribe-options-newsgroup-method): Doc fix.
Index: mm-util.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/mm-util.el,v
retrieving revision 7.53
diff -u -u -r7.53 mm-util.el
--- mm-util.el	6 Jun 2006 06:27:43 -0000	7.53
+++ mm-util.el	16 Jul 2006 12:21:54 -0000
@@ -229,6 +229,10 @@
 	(if (mm-coding-system-p 'cp949)
 	    '((ks_c_5601-1987 . cp949))
 	  '((ks_c_5601-1987 . euc-kr))))
+    ;; Windows-31J is Windows Codepage 932.
+    ,@(if (and (not (mm-coding-system-p 'windows-31j))
+	       (mm-coding-system-p 'cp932))
+	  '((windows-31j . cp932)))
     )
   "A mapping from unknown or invalid charset names to the real charset names.")
 

-- 
NAKAJI Hiroyuki ( )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.