Closed
Bug 298533
Opened 19 years ago
Closed 3 years ago
Inconsistent return values from nsIUnicodeDecoder
Categories
(Core :: Internationalization, defect)
Core
Internationalization
Tracking
()
RESOLVED
FIXED
People
(Reporter: Biesinger, Assigned: smontagu)
Details
http://lxr.mozilla.org/seamonkey/source/intl/uconv/public/nsIUnicodeDecoder.h#64 has a (deprecated) NS_ERROR_ILLEGAL_INPUT define. http://lxr.mozilla.org/seamonkey/source/intl/uconv/public/nsIUnicodeDecoder.h#146 says that that error will be thrown for illegal input. However, only one decoder actually uses that error: http://lxr.mozilla.org/seamonkey/search?string=error_illegal_in I'm not sure what the others return, although the UTF-8 one uses NS_ERROR_UNEXPECTED. It would be nice if the documentation was updated and if the implementations were consistent.
Updated•15 years ago
|
QA Contact: amyy → i18n
Comment 1•3 years ago
|
||
Fixed by encoding_rs.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•