Fix handling of euc-xx coding systems.

This commit is contained in:
Kenichi Handa 2010-01-14 20:31:16 +09:00
parent 3a4f3a3b0a
commit d12bd91784
2 changed files with 10 additions and 1 deletions

View file

@ -3239,9 +3239,13 @@ detect_coding_iso_2022 (coding, detect_info)
int i = 1;
while (src < src_end)
{
src_base = src;
ONE_MORE_BYTE (c);
if (c < 0xA0)
break;
{
src = src_base;
break;
}
i++;
}