Commit f0dd4c35 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(IT_write_glyphs): Don't convert 7-bit ASCII characters via

nonascii-translation-table.
parent 3e1f7d51
...@@ -728,7 +728,8 @@ IT_write_glyphs (GLYPH *str, int str_len) ...@@ -728,7 +728,8 @@ IT_write_glyphs (GLYPH *str, int str_len)
ch = FAST_GLYPH_CHAR (g); ch = FAST_GLYPH_CHAR (g);
if (unibyte_display_via_language_environment if (unibyte_display_via_language_environment
&& SINGLE_BYTE_CHAR_P (ch) && 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); ch = unibyte_char_to_multibyte (ch);
/* Invalid characters are displayed with a special glyph. */ /* Invalid characters are displayed with a special glyph. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment