(decode_coding_sjis): Check the first byte rigidly.
This commit is contained in:
parent
abf8189e01
commit
8e921c4b65
1 changed files with 2 additions and 0 deletions
|
@ -4025,6 +4025,8 @@ decode_coding_sjis (coding)
|
|||
goto invalid_code;
|
||||
if (c < 0x80)
|
||||
charset = charset_roman;
|
||||
else if (c == 0x80)
|
||||
goto invalid_code;
|
||||
else
|
||||
{
|
||||
if (c >= 0xF0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue