Closed Bug 467610 Opened 17 years ago Closed 17 years ago

UnicodeUtils::Utf8Count is wrong for surrogate pairs

Categories

(Tamarin Graveyard :: Virtual Machine, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: stejohns, Assigned: stejohns)

Details

Attachments

(1 file)

Attached patch Patch — — Splinter Review
There's a one-character typo that causes the length to be incorrectly returned for UTF8 strings that contain UTF16 surrogate pairs. Enclosed is fix, plus new acceptance test to check.
Attachment #351015 - Flags: review?(lhansen)
Attachment #351015 - Flags: review?(lhansen) → review+
pushed to redux as changeset: 1180:79ae6225cea3
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
verified, testcase is running on all buildbot builders
Status: RESOLVED → VERIFIED
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: