Commit 9f0526cb authored by Jason Rumney's avatar Jason Rumney
Browse files

(detect_coding_charset): If not checking latin extra,

fail on characters between 0x80 and 0xA0.  (Bug#2354)
parent 3122b073
......@@ -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])))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment