changeset 53239:82690620d562

(decode_coding_iso2022): Fix for preserving UTF-8 encoding sequence.
author Kenichi Handa <handa@m17n.org>
date Wed, 03 Dec 2003 08:23:53 +0000
parents 1fa5a4fc03e5
children ee5206ee4439
files src/coding.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/coding.c	Tue Dec 02 15:01:52 2003 +0000
+++ b/src/coding.c	Wed Dec 03 08:23:53 2003 +0000
@@ -2125,7 +2125,10 @@
 			  && 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))