changeset 23152:7cd25ebef713

(concat): If Vnonascii_translation_table is non-nil, try to convert a character less than 160 to multibyte.
author Kenichi Handa <handa@m17n.org>
date Mon, 31 Aug 1998 03:50:17 +0000
parents dad3317e5d8c
children b2770410c752
files src/fns.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/fns.c	Mon Aug 31 03:50:17 1998 +0000
+++ b/src/fns.c	Mon Aug 31 03:50:17 1998 +0000
@@ -709,7 +709,9 @@
 		else
 		  {
 		    XSETFASTINT (elt, XSTRING (this)->data[thisindex++]);
-		    if (some_multibyte && XINT (elt) >= 0200
+		    if (some_multibyte
+			&& (XINT (elt) >= 0240
+			    || ! NILP (Vnonascii_translation_table))
 			&& XINT (elt) < 0400)
 		      {
 			c = unibyte_char_to_multibyte (XINT (elt));