problem in converting non-bmp character to UTF-8

VERIFIED FIXED

Status

()

VERIFIED FIXED
17 years ago
16 years ago

People

(Reporter: shanjian, Assigned: shanjian)

Tracking

({intl})

Trunk
x86
Windows 2000
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

17 years ago
Reproduce step:
1, configure your system to be able to handle surrogate. If you don't know how
to do it, refers bug 118000. Install code2001.
2, open page http://home.att.net/~jameskass/deserettest.htm in composer.
3, select save as charset, and choose utf-8.
4, open saved file in browser.

You will see those characters are not displayed correctly. Examine the file in
binary, those utf-8 strings are incorrect.

Expected behavor:
characters are correctly displayed.
(Assignee)

Comment 1

17 years ago
Created attachment 81947 [details] [diff] [review]
patch
(Assignee)

Comment 2

17 years ago
frank, could you review?
Status: NEW → ASSIGNED

Updated

17 years ago
Keywords: intl
QA Contact: ruixu → ylong
(Assignee)

Comment 3

16 years ago
This is a simple change. Roy, could you review?

Comment 4

16 years ago
Comment on attachment 81947 [details] [diff] [review]
patch

/r=yokoyama
Good catch.
Attachment #81947 - Flags: review+
(Assignee)

Comment 5

16 years ago
blizzard, could you sr?
Comment on attachment 81947 [details] [diff] [review]
patch

sr=blizzard
Attachment #81947 - Flags: superreview+
(Assignee)

Comment 7

16 years ago
fix checked in. 
Status: ASSIGNED → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → FIXED

Comment 8

16 years ago
Verified fixed on 09-23 trunk build / WinXP-SC.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.