From: tomo Date: Fri, 9 Apr 2004 12:14:30 +0000 (+0000) Subject: (char_encode_utf8): Try to use entity-references for U-000F0000 ... X-Git-Tag: r21-4-14-chise-0_21-26^2~53 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=0cbb0d1c451c164beae371763b59ce64347f5ce5;p=chise%2Fxemacs-chise.git.1 (char_encode_utf8): Try to use entity-references for U-000F0000 ... U-0010FFFF. --- diff --git a/src/text-coding.c b/src/text-coding.c index 7be2d3e..4b8f2d2 100644 --- a/src/text-coding.c +++ b/src/text-coding.c @@ -4609,7 +4609,7 @@ char_encode_utf8 (struct encoding_stream *str, Emchar ch, = CODING_SYSTEM_ISO2022_INITIAL_CHARSET (str->codesys, 0); int code_point = charset_code_point (ucs_ccs, ch, 0); - if ( (code_point < 0) || (code_point > 0x10FFFF) ) + if ( (code_point < 0) || (code_point > 0xEFFFF) ) { Lisp_Object map = CODING_SYSTEM_ISO2022_INITIAL_CHARSET (str->codesys, 1);