Fix handling of euc-xx coding systems.
This commit is contained in:
parent
3a4f3a3b0a
commit
d12bd91784
2 changed files with 10 additions and 1 deletions
|
@ -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++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue