[Webkit-unassigned] [Bug 38890] New: Multi-byte issue in JavaScriptCore formatLocaleDate
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue May 11 00:26:19 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=38890
Summary: Multi-byte issue in JavaScriptCore formatLocaleDate
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: leo.yang at torchmobile.com.cn
formatLocaleDate (non-Mac platform implement) in JavaScriptCore/runtime/DatePrototype.cpp doesn't take multi-byte into account.
Considering the follow html code for LC_TIME="zh_CN.UTF-8", formatLocaleDate behaves incorrect (junk result)
<html>
<head>
<meta http-equiv="Content-Type" Content="text/html; Charset=utf-8">
</head>
<body>
<script>
var now = new Date();
document.write(now.toLocaleString());
</script>
</body>
</html>
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list