changeset 107350:9ce60f5ba0af

Add coding system windows-1256 (alias cp1256).
author Kenichi Handa <handa@m17n.org>
date Mon, 08 Mar 2010 10:50:35 +0900
parents 577361495f7d
children 4cec4e49a7ae
files lisp/ChangeLog lisp/language/misc-lang.el
diffstat 2 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Wed Mar 03 15:04:00 2010 +0900
+++ b/lisp/ChangeLog	Mon Mar 08 10:50:35 2010 +0900
@@ -1,3 +1,8 @@
+2010-03-08  Kenichi Handa  <handa@m17n.org>
+
+	* language/misc-lang.el (windows-1256): New coding system.
+	(cp1256): New alias of windows-1256.
+
 2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
 
 	* subr.el (momentary-string-display): Don't overwrite the MESSAGE
--- a/lisp/language/misc-lang.el	Wed Mar 03 15:04:00 2010 +0900
+++ b/lisp/language/misc-lang.el	Mon Mar 08 10:50:35 2010 +0900
@@ -50,6 +50,14 @@
   :charset-list '(iso-8859-6)
   :mime-charset 'iso-8859-6)
 
+(define-coding-system 'windows-1256
+  "windows-1256 (Arabic) encoding (MIME: WINDOWS-1256)"
+  :coding-type 'charset
+  :mnemonic ?A
+  :charset-list '(windows-1256)
+  :mime-charset 'windows-1256)
+(define-coding-system-alias 'cp1256 'windows-1256)
+
 (provide 'misc-lang)
 
 ;; arch-tag: 6953585c-1a1a-4c09-be82-a2518afb6074