# HG changeset patch # User Dave Love # Date 1021577507 0 # Node ID d3c120a01077c048a360c20b446bcdf44643367e # Parent 71edb04707fd2944ab0f77ae1876182867bb8af3 *** empty log message *** diff -r 71edb04707fd -r d3c120a01077 etc/ChangeLog --- a/etc/ChangeLog Thu May 16 19:31:12 2002 +0000 +++ b/etc/ChangeLog Thu May 16 19:31:47 2002 +0000 @@ -1,3 +1,10 @@ +2002-05-16 Dave Love + + * charsets/cp1125.map, charsets/ebcdic-us, charsets/georgian-ps.map: + * charsets/koi8-t.map, charsets/koi8-u.map: + * charsets/windows-1250.map, charsets/windows-1251.map: + * charsets/windows-1252.map: New file. + 2002-05-07 Kenichi Handa * charsets/Makefile (MAPS): Add gbk.map and gb18030-bmp.map. diff -r 71edb04707fd -r d3c120a01077 etc/charsets/README --- a/etc/charsets/README Thu May 16 19:31:12 2002 +0000 +++ b/etc/charsets/README Thu May 16 19:31:47 2002 +0000 @@ -2,6 +2,7 @@ # Copyright (C) 2001, 2002 # National Institute of Advanced Industrial Science and Technology (AIST) # Registration Number H13PRO009 +# Copyright (C) 2002 Free Software Foundation, Inc. # This file is part of GNU Emacs. @@ -25,18 +26,23 @@ Each line contains a code point and the corresponding Unicode character code separated by a space. Both code points and Unicode -character codes are in hexadecimal preceded by "0x". +character codes are in hexadecimal preceded by "0x". Comments may be +used, starting with "#". Code ranges may also be used, with endpoints +separated by "-", covering the same number of codepoints and +unicodes. -Example: -0x80 0x0080 +Examples: +0xA0 0x00A0 # no-break space + +0x81308130-0x81308435 0x0080-0x00A3 # map onto a Unicode range (2) Source of mapping files -All mapping files are generated from the data files distributed with +Most mapping files are generated from the data files distributed with glibc (under the sub-directory "localedata/charmaps"). This list -shows the correspondence of the data files, the mapping files, and -which charset uses it. +shows the correspondence of the data file, the mapping file, and which +charset uses it. DATA-FILE MAP-FILE CHARSET ========= ======== ======= @@ -70,3 +76,16 @@ VISCII vscii.map vscii KOI8-R koi8-r.map koi8-r IBM866 ibm866.map alternativnyj +CP1251 windows-1251.map windows-1251 +CP1250 windows-1250.map windows-1250 +GEORGIAN-PS georgian-ps.map georgian-ps +KOI8-U koi8-u.map koi8-u +KOI8-T koi8-t.map koi8-t +EBCDIC-US ebcdic.us.map ebcdic-us +EBCDIC-UK ebcdic.uk.map ebcdic-uk +CP1250 windows-1250.map windows-1250 +CP1251 windows-1251.map windows-1251 +CP1252 windows-1252.map windows-1252 + +From ICU: + cp1125.map cp1125 diff -r 71edb04707fd -r d3c120a01077 lisp/ChangeLog --- a/lisp/ChangeLog Thu May 16 19:31:12 2002 +0000 +++ b/lisp/ChangeLog Thu May 16 19:31:47 2002 +0000 @@ -1,3 +1,24 @@ +2002-05-16 Dave Love + + * international/mule-diag.el: Doc fixes. + (sort-charset-list, charset-multibyte-form-string): Removed. + (list-character-sets, list-character-sets-1) + (list-character-sets-2): Re-written. + (non-iso-charset-alist): Set to nil and made obsolete. + (decode-codepage-char): Re-written and made obsolete. + (read-charset, describe-character-set): Don't use + non-iso-charset-alist. + (describe-coding-system): Use keyword properties. + + * international/mule-conf.el (koi8-u, koi8-t, georgian-ps) + (windows-1250, windows-1251, windows-1252, cp1125, ebcdic-us) + (ebcdic-uk): New charsets. + + * language/cyrillic.el (koi8-u, koi8-t, windows-1251, cp1125): New + coding systems. + + * language/european.el (windows-1252): New coding system. + 2002-05-16 Kenichi Handa * Makefile.in: By sure to run emacs with LC_ALL=C. diff -r 71edb04707fd -r d3c120a01077 src/ChangeLog --- a/src/ChangeLog Thu May 16 19:31:12 2002 +0000 +++ b/src/ChangeLog Thu May 16 19:31:47 2002 +0000 @@ -1,3 +1,7 @@ +2002-05-16 Dave Love + + * s/osf5-0.h (C_SWITCH_SYSTEM) [!__GNUC__]: Remove -nointrinsics. + 2002-05-16 Kenichi Handa * character.c (string_escape_byte8): Make multibyte string with @@ -21,10 +25,10 @@ (encode_coding_iso_2022): Setup coding->safe_charsets in advance. (decode_coding_object): Move point to coding->dst_pos before calling post-read-conversion function. - (encode_coding_object): Give correct arguments ot + (encode_coding_object): Give correct arguments to pre-write-conversion. Ignore the return value of pre-write-conversion function. Pay attention to the case that - pre-write-conversion change the current buffer. If dst_object is + pre-write-conversion changes the current buffer. If dst_object is Qt, even if coding->src_bytes is zero, allocate at least one byte to coding->destination.