(detect_coding_charset): If not checking latin extra,
fail on characters between 0x80 and 0xA0. (Bug#2354)
This commit is contained in:
parent
3122b0732a
commit
9f0526cb4b
1 changed files with 2 additions and 2 deletions
|
@ -5128,8 +5128,8 @@ detect_coding_charset (coding, detect_info)
|
|||
if (c >= 0x80)
|
||||
{
|
||||
if (c < 0xA0
|
||||
&& check_latin_extra
|
||||
&& NILP (XVECTOR (Vlatin_extra_code_table)->contents[c]))
|
||||
&& (!check_latin_extra
|
||||
|| NILP (XVECTOR (Vlatin_extra_code_table)->contents[c])))
|
||||
break;
|
||||
found = CATEGORY_MASK_CHARSET;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue