[Webkit-unassigned] [Bug 38890] Multi-byte issue in JavaScriptCore formatLocaleDate
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed May 12 18:48:40 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=38890
--- Comment #9 from Leo Yang <leo.yang at torchmobile.com.cn> 2010-05-12 18:48:40 PST ---
(In reply to comment #8)
> > Yes, wchar_t is not always UTF-16, so I copy the whart_t result to UTF-16 buffer in case of that.
>
> It may be UTF-32, for example. Or it may be something entirely unrelated to Unicode, even if its size is 16 bit.
If it's UTF-32, we could only static_cast to UTF-16, and may loss data, can we handle UTF-32 using JSString?
For wchar_t itself, it can be everything, but as result of mbstowcs, can it be everything instead of UTF-16/UTF-32?
--
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