Closed Bug 714613 Opened 13 years ago Closed 12 years ago

Dead code in nsShiftJISToUnicode::Convert

Categories

(Core :: Internationalization, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla12

People

(Reporter: Ms2ger, Assigned: Ms2ger)

Details

Attachments

(2 files, 1 obsolete file)

Attached patch Patch v1Splinter Review
Both gCP932IndexShiftJis and gIBM943IndexShiftJis have only 0xFFFDs at the handled code points.
Attachment #585277 - Flags: review?
Attachment #585277 - Flags: review? → review?(smontagu)
Attached patch Part b: simplify (obsolete) — Splinter Review
And this can be simplified much more.
Attachment #585282 - Flags: review?(smontagu)
Attached patch Part b: simplifySplinter Review
And now the right way.
Attachment #585282 - Attachment is obsolete: true
Attachment #585282 - Flags: review?(smontagu)
Attachment #585283 - Flags: review?(smontagu)
Attachment #585277 - Flags: review?(smontagu) → review+
Comment on attachment 585283 [details] [diff] [review]
Part b: simplify

Review of attachment 585283 [details] [diff] [review]:
-----------------------------------------------------------------

r=me, if you move the comment about "IE-compatible handling of undefined codepoints" and 5 following lines in front of the tables in japanese.map
Attachment #585283 - Flags: review?(smontagu) → review+
Thanks!

https://hg.mozilla.org/mozilla-central/rev/e3cd4ae3e9e1
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla12
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: