This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 25649 - shift_jis decoder is overly permissive for EUDC
Summary: shift_jis decoder is overly permissive for EUDC
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: Encoding (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: Unsorted
Assignee: Anne
QA Contact: sideshowbarker+encodingspec
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-10 02:57 UTC by public+w3@mearie.org
Modified: 2014-05-12 14:52 UTC (History)
2 users (show)

See Also:


Attachments

Description public+w3@mearie.org 2014-05-10 02:57:39 UTC
Substep 3.2 does not check if the byte is in the range 0x40 to 0x7E or 0x80 to 0xFC, so it allows for byte sequence F0 00 to be decoded as U+DFC0 for example. This is obviously contraty to the original pseudocode by Masatoshi Kimura in Bug 24130.
Comment 1 Anne 2014-05-12 14:36:29 UTC
Thanks for this. Should there be a space in your Korean name between your last and first name? I went with yes, as that is what you use on your site.

https://github.com/whatwg/encoding/commit/236196e8ce274c44ab45109dfc8da9539ae44e1d
Comment 2 public+w3@mearie.org 2014-05-12 14:45:17 UTC
(In reply to Anne from comment #1)
> Thanks for this. Should there be a space in your Korean name between your
> last and first name? I went with yes, as that is what you use on your site.
> 
> https://github.com/whatwg/encoding/commit/
> 236196e8ce274c44ab45109dfc8da9539ae44e1d

Yes, I indeed prefer that form. Thank you!