Closed Bug 378859 Opened 13 years ago Closed 13 years ago

Characters from 0x80-0xff displayed in system code page with new textframe

Categories

(Core :: Graphics, defect, major)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED FIXED

People

(Reporter: smontagu, Assigned: smontagu)

References

()

Details

Attachments

(1 file)

We should only use GetGlyphIndicesA() for ASCII strings, not for 8-bit non-ASCII, because it interprets the input as if it were in the system "ANSI" code page. This is fine if the system code page happens to be Windows-1252, but otherwise the characters are corrupted on display.
Attached patch PatchSplinter Review
Assignee: nobody → smontagu
Status: NEW → ASSIGNED
Attachment #262863 - Flags: review?(roc)
Checked in
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Flags: in-testsuite?
You need to log in before you can comment on or make changes to this bug.