[Webkit-unassigned] [Bug 167940] New: Unable to use literal astral-plane unicode character in JavaScript
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Feb 7 08:42:37 PST 2017
https://bugs.webkit.org/show_bug.cgi?id=167940
Bug ID: 167940
Summary: Unable to use literal astral-plane unicode character
in JavaScript
Classification: Unclassified
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: claude.pache at gmail.com
Type:
var ð;
where the character before the semi-colon is U+102C0 (CARIAN LETTER G).
Equivalently, try:
eval("var \u{102C0};"); // (note that the escape sequence is expanded when evaluating the string)
I get the error:
SyntaxError: Invalid character '\u55296'
I expect: no error (because U+102C0 is a letter).
Note that the following code works as expected (no error):
var \u{102C0};
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170207/0059d442/attachment.html>
More information about the webkit-unassigned
mailing list