From c63e0d56d5e40416f7fbad2832ae02a327802c60 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Mon, 31 Aug 1998 03:50:17 +0000 Subject: [PATCH] (dumpglyphs): If Vnonascii_translation_table is non-nil, try to convert a character less than 160 to multibyteL. --- src/xterm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xterm.c b/src/xterm.c index 8b6b98019c6..3993f3a836e 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -582,7 +582,7 @@ dumpglyphs (f, left, top, gp, n, hl, just_foreground, cmpcharp) 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 @@ dumpglyphs (f, left, top, gp, n, hl, just_foreground, cmpcharp) 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 -- 2.39.2