From: Eli Zaretskii Date: Mon, 21 Dec 1998 16:09:29 +0000 (+0000) Subject: (dumpglyphs): Don't convert 7-bit ASCII characters via X-Git-Tag: emacs-20.4~1024 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3e1f7d51ce9304036b8be92e263b6bb271e91110;p=emacs.git (dumpglyphs): Don't convert 7-bit ASCII characters via nonascii-translation-table. --- diff --git a/src/xterm.c b/src/xterm.c index 573f11c15c3..53943fe9115 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -582,7 +582,8 @@ 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 >= 0240 || !NILP (Vnonascii_translation_table))) + && (ch >= 0240 + || (ch >= 0200 && !NILP (Vnonascii_translation_table)))) ch = unibyte_char_to_multibyte (ch); if (gidx == 0) XSETFASTINT (first_ch, ch); charset = CHAR_CHARSET (ch); @@ -623,7 +624,8 @@ 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 >= 0240 || !NILP (Vnonascii_translation_table))) + && (ch >= 0240 + || (ch >= 0200 && !NILP (Vnonascii_translation_table)))) ch = unibyte_char_to_multibyte (ch); SPLIT_CHAR (ch, this_charset, c1, c2); if (this_charset != charset