Closed
Bug 1222876
Opened 10 years ago
Closed 10 years ago
Some characters in BIG5 have incorrect conversion to UTF8
Categories
(Core :: Internationalization, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: wcpan, Unassigned)
References
Details
(Whiteboard: wont)
var converter = Components.classes["@mozilla.org/intl/utf8converterservice;1"].getService(Components.interfaces.nsIUTF8ConverterService);
var strInBig5 = '\x9d\xde';
var strInUtf8 = converter.convertStringToUTF8(strInBig5, 'big5', true, true);
console.info(strInUtf8.charCodeAt(0));
The character code should be 9829, but after Firefox 43 it becomes 40005.
Comment 2•10 years ago
|
||
(In reply to Tim Guan-tin Chien [:timdream] (OOO Nov 16-26; please needinfo) from comment #1)
> Maybe because of bug 912470?
Actually, not a maybe ... it's a "definitely" since the bug did land at Fx43!
Depends on: 912470
| Reporter | ||
Comment 3•10 years ago
|
||
Confirmed after revert bug 912470, but after an offline talk with timdream, I realized that this bug should be marked as won't fix, since we have decide to drop UAO support.
Flags: needinfo?(wpan)
| Reporter | ||
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
Whiteboard: wont
I don't disagree with closing this as WONTFIX, but I'm still curious: How did you notice this? Did a site break? If a site broke, how does the site render in IE, Edge, Chrome and Safari?
| Reporter | ||
Comment 5•10 years ago
|
||
(In reply to Henri Sivonen (:hsivonen) from comment #4)
> I don't disagree with closing this as WONTFIX, but I'm still curious: How
> did you notice this? Did a site break? If a site broke, how does the site
> render in IE, Edge, Chrome and Safari?
The original issue is belong to a Firefox extension[1], that implements a BBS (web forum/chatroom over telnet) client.
I think that should not be our concern because the use is not a general case.
[1]: https://github.com/ettoolong/BBSFox-E10S
You need to log in
before you can comment on or make changes to this bug.
Description
•