changeset 57446:83bc7d52bd6c

(get_next_display_element): If unibyte_display_via_language_environment is zero, display 8-bit chars in octal in unibyte buffer.
author Kenichi Handa <handa@m17n.org>
date Tue, 12 Oct 2004 07:37:06 +0000
parents 66a36bee0b1f
children 9984b3382a7a
files src/xdisp.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Tue Oct 12 05:26:29 2004 +0000
+++ b/src/xdisp.c	Tue Oct 12 07:37:06 2004 +0000
@@ -4897,7 +4897,8 @@
 			   && it->len == 1)
 			  || !CHAR_PRINTABLE_P (it->c))
 		       : (it->c >= 127
-			  && it->c == unibyte_char_to_multibyte (it->c))))
+			  && (!unibyte_display_via_language_environment
+			      || it->c == unibyte_char_to_multibyte (it->c)))))
 	    {
 	      /* IT->c is a control character which must be displayed
 		 either as '\003' or as `^C' where the '\\' and '^'