projects
/
chise
/
xemacs-chise.git.1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c055fb9
)
(char_encode_iso2022): Output `~' if ISO 2022 coded-charset is not
author
tomo
<tomo>
Tue, 16 Nov 1999 20:25:23 +0000
(20:25 +0000)
committer
tomo
<tomo>
Tue, 16 Nov 1999 20:25:23 +0000
(20:25 +0000)
found.
src/text-coding.c
patch
|
blob
|
history
diff --git
a/src/text-coding.c
b/src/text-coding.c
index
fd1dc8f
..
7ce8b94
100644
(file)
--- a/
src/text-coding.c
+++ b/
src/text-coding.c
@@
-4837,6
+4837,11
@@
char_encode_iso2022 (struct encoding_stream *str, Emchar ch,
Vdefault_coded_charset_priority_list));
}
BREAKUP_CHAR (ch, charset, byte1, byte2);
+ if (!XCHARSET_FINAL (charset))
+ {
+ charset = Vcharset_ascii;
+ byte1 = '~';
+ }
found:
Vdefault_coded_charset_priority_list
= original_default_coded_charset_priority_list;