Closed Bug 593338 Opened 14 years ago Closed 7 years ago

Should use REPLACEMENT CHARACTER instead of KATAKANA MIDDLE DOT for unmapped bytes in Shift_JIS

Categories

(Core :: Internationalization, defect)

defect
Not set
trivial

Tracking

()

RESOLVED FIXED
mozilla56

People

(Reporter: hsivonen, Assigned: hsivonen)

References

Details

(Whiteboard: [fixed by encoding_rs])

I see
#define SJIS_UNMAPPED	0x30fb
in nsJapaneseToUnicode.cpp.

This seems wrong. All encodings should use the REPLACEMENT CHARACTER for bogus input.
This behavior is historical issue of bug 116882.
Blocks: 736438
Fixed by bug 1261841.
Assignee: smontagu → hsivonen
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Whiteboard: [fixed by encoding_rs]
Target Milestone: --- → mozilla56
You need to log in before you can comment on or make changes to this bug.