changeset 23151:dad3317e5d8c

(dumpglyphs): If Vnonascii_translation_table is non-nil, try to convert a character less than 160 to multibyteL.
author Kenichi Handa <handa@m17n.org>
date Mon, 31 Aug 1998 03:50:17 +0000
parents d2f7ed631ea7
children 7cd25ebef713
files src/xterm.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Sat Aug 29 19:59:33 1998 +0000
+++ b/src/xterm.c	Mon Aug 31 03:50:17 1998 +0000
@@ -582,7 +582,7 @@
       ch = FAST_GLYPH_CHAR (g);
       if (unibyte_display_via_language_environment
 	  && SINGLE_BYTE_CHAR_P (ch)
-	  && ch >= 160)
+	  && (ch >= 0240 || !NILP (Vnonascii_translation_table)))
 	ch = unibyte_char_to_multibyte (ch);
       if (gidx == 0) XSETFASTINT (first_ch, ch);
       charset = CHAR_CHARSET (ch);
@@ -623,7 +623,7 @@
 	  ch = FAST_GLYPH_CHAR (g);
 	  if (unibyte_display_via_language_environment
 	      && SINGLE_BYTE_CHAR_P (ch)
-	      && ch >= 160)
+	      && (ch >= 0240 || !NILP (Vnonascii_translation_table)))
 	    ch = unibyte_char_to_multibyte (ch);
 	  SPLIT_CHAR (ch, this_charset, c1, c2);
 	  if (this_charset != charset