-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please double-check the end of the EUDC range #53
Comments
This range originated from https://www.w3.org/Bugs/Public/show_bug.cgi?id=24130. @vyv03354 can probably clear this up. |
The entire F9 range is valid as the removed commit indicates: |
Okay, so it should be 10715 ((0xF9 - 0xC1) x 188 + 0xFC - 0x41 in decimal)? |
@r12a not sure if you test this range, but you might have to update a few things here. |
I think so. |
So 236196e introduced the current range and it seems I just made an error there by not including the full range of 0xF9. |
@annevk i updated the js file that does the decoding for the sjis tests. The results were the same. |
In the Shift_JIS decoder, the inclusive end pointer 10528 looks suspicious, since it means only one possible trail byte (the lowest possible) is allowed for the lead byte F9. One would expect either the special case to run to the end of the pointers whose lead byte is F8 (making 10528 an exclusive bound) or run to the end of the pointers whose lead byte is F9.
Please double-check that the range is correct and, if it is, please add a note saying that the range is weird on purpose.
cc @vyv03354
The text was updated successfully, but these errors were encountered: