W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > May 2011

[Bug 12100] UAs do not actually convert DOMStrings to sequences of Unicode characters. Test case: data:text/html,<!doctype html><script>document.documentElement.title = "\ud800"; alert(document.documentElement.title.charCodeAt(0));</script> Expected 65533, got 5529

From: <bugzilla@jessica.w3.org>
Date: Thu, 05 May 2011 06:52:12 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1QHsQ0-0004l2-Mf@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12100

--- Comment #8 from Cameron McCormack <cam@mcc.id.au> 2011-05-05 06:52:12 UTC ---
(In reply to comment #5)
> That doesn't solve the problem. The problem is what to do with broken
> surrogates going in to the API.

I misread.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Thursday, 5 May 2011 06:52:17 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:31:09 UTC