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

RESOLVED FIXED

Status

()

Core
Graphics
--
major
RESOLVED FIXED
11 years ago
11 years ago

People

(Reporter: smontagu, Assigned: smontagu)

Tracking

unspecified
x86
Windows XP
Points:
---
Bug Flags:
in-testsuite ?

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Assignee)

Description

11 years ago
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.
(Assignee)

Comment 1

11 years ago
Created attachment 262863 [details] [diff] [review]
Patch
Assignee: nobody → smontagu
Status: NEW → ASSIGNED
Attachment #262863 - Flags: review?(roc)
Attachment #262863 - Flags: superreview+
Attachment #262863 - Flags: review?(roc)
Attachment #262863 - Flags: review+
(Assignee)

Comment 2

11 years ago
Checked in
Status: ASSIGNED → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → FIXED

Updated

11 years ago
Flags: in-testsuite?
You need to log in before you can comment on or make changes to this bug.