[Webkit-unassigned] [Bug 180753] makeString: add single-character helpers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jan 26 20:51:43 PST 2020


https://bugs.webkit.org/show_bug.cgi?id=180753

--- Comment #5 from Darin Adler <darin at apple.com> ---
(In reply to Fujii Hironori from comment #4)
> ICU 59 did the gutsy API breaking change typedefing UChar as char16_t.
> http://site.icu-project.org/download/59
> What about the idea updating WTF's copy of ICU header?
> This seems a right direction?

Yes, I think that would be a good way to end up.

I think this would be a significant transition project for WebKit. On Cocoa platforms, the types for Unicode characters in Core Foundation and Foundation, UniChar and unichar, are both typedefs for unsigned short. Thus there are many places where we use UChar, UniChar, and unichar interchangeably. Most of those would need to change.

I think we've been careful to only use the C functions in ICU with C linkage, so we wouldn't have the most obvious kinds of runtime incompatibility issues, like mangled function names being different.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200127/c0d112f9/attachment.htm>


More information about the webkit-unassigned mailing list