Closed Bug 141621 Opened 22 years ago Closed 22 years ago

problem in converting non-bmp character to UTF-8

Categories

(Core :: Internationalization, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: shanjian, Assigned: shanjian)

Details

(Keywords: intl)

Attachments

(1 file)

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.
Attached patch patchSplinter Review
frank, could you review?
Status: NEW → ASSIGNED
Keywords: intl
QA Contact: ruixu → ylong
This is a simple change. Roy, could you review?
Comment on attachment 81947 [details] [diff] [review]
patch

/r=yokoyama
Good catch.
Attachment #81947 - Flags: review+
blizzard, could you sr?
Comment on attachment 81947 [details] [diff] [review]
patch

sr=blizzard
Attachment #81947 - Flags: superreview+
fix checked in. 
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
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.

Attachment

General

Creator:
Created:
Updated:
Size: