# HG changeset patch # User Kenichi Handa # Date 1239672292 0 # Node ID e59697cf41411d12de2c98a79f500739cefbc0bd # Parent b5a34573cf82288e92ca6ab57569e5d79c7b0590 (Fdefine_charset_internal): Make charset ascii-compatible if the method is CHARSET_METHOD_OFFSET, the code_offset is 0, and covers all ASCII characters. diff -r b5a34573cf82 -r e59697cf4141 src/charset.c --- a/src/charset.c Mon Apr 13 18:45:12 2009 +0000 +++ b/src/charset.c Tue Apr 14 01:24:52 2009 +0000 @@ -1082,6 +1082,8 @@ i = (i >> 12) << 12; for (; i <= charset.max_char; i += 0x1000) CHARSET_FAST_MAP_SET (i, charset.fast_map); + if (charset.code_offset == 0 && charset.max_char >= 0x80) + charset.ascii_compatible_p = 1; } else if (! NILP (args[charset_arg_map])) {