# HG changeset patch # User Eli Zaretskii # Date 914256837 0 # Node ID 869b3e83aa6b990cd003bedd0e1049dcaaf52194 # Parent b718a88bb2b1e7b9aebf52a1f45ba93e079f3082 (copy_text, count_size_as_multibyte): Don't convert 7-bit ASCII characters via nonascii-translation-table. diff -r b718a88bb2b1 -r 869b3e83aa6b src/insdel.c --- a/src/insdel.c Mon Dec 21 16:12:53 1998 +0000 +++ b/src/insdel.c Mon Dec 21 16:13:57 1998 +0000 @@ -737,7 +737,9 @@ unsigned char workbuf[4], *str; int len; - if ((c >= 0240 || !NILP (Vnonascii_translation_table)) && c < 0400) + if (c < 0400 + && (c >= 0240 + || (c >= 0200 && !NILP (Vnonascii_translation_table)))) { c = unibyte_char_to_multibyte (c); len = CHAR_STRING (c, workbuf, str); @@ -769,7 +771,7 @@ { unsigned int c = *ptr++; - if (c < 0240 && NILP (Vnonascii_translation_table)) + if (c < 0200 || (c < 0240 && NILP (Vnonascii_translation_table))) outgoing_nbytes++; else {