HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac00d71
)
(decode_coding_iso2022): Fix for preserving UTF-8
author
Kenichi Handa
<handa@m17n.org>
Wed, 3 Dec 2003 08:23:53 +0000
(08:23 +0000)
committer
Kenichi Handa
<handa@m17n.org>
Wed, 3 Dec 2003 08:23:53 +0000
(08:23 +0000)
encoding sequence.
src/coding.c
patch
|
blob
|
blame
|
history
diff --git
a/src/coding.c
b/src/coding.c
index
910fc8f
..
3f11c6f
100644
(file)
--- a/
src/coding.c
+++ b/
src/coding.c
@@
-2125,7
+2125,10
@@
decode_coding_iso2022 (coding, source, destination, src_bytes, dst_bytes)
&& src + 1 < src_end
&& src[0] == '%'
&& src[1] == '@')
- break;
+ {
+ src += 2;
+ break;
+ }
d += CHAR_STRING (c1, d), produced_chars++;
}
if (d + 3 > (dst_bytes ? dst_end : src))