Mercurial > emacs
changeset 102325:2c693a021d83
(detect_coding_charset): If not checking latin extra,
fail on characters between 0x80 and 0xA0. (Bug#2354)
author | Jason Rumney <jasonr@gnu.org> |
---|---|
date | Sat, 28 Feb 2009 13:37:33 +0000 |
parents | dd6863f22f2a |
children | 376ab174a95d |
files | src/coding.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/coding.c Sat Feb 28 13:36:28 2009 +0000 +++ b/src/coding.c Sat Feb 28 13:37:33 2009 +0000 @@ -5128,8 +5128,8 @@ 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; }