Commit c63e0d56 authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(dumpglyphs): If Vnonascii_translation_table is non-nil, try

to convert a character less than 160 to multibyteL.
parent 153d0a6d
......@@ -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
......
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