gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New ABI NSConstantString


From: Ivan Vučica
Subject: Re: New ABI NSConstantString
Date: Sat, 07 Apr 2018 09:21:05 +0000

On Sat, Apr 7, 2018, 09:50 David Chisnall <address@hidden> wrote:


My current plan is to make the format support ASCII, UTF-8, UTF-16, and UTF-32, but only generate ASCII and UTF-16 in the compiler and then decide later if we want to support generating UTF-8 and UTF-32.  I also won’t initialise the hash in the compiler initially, until we’ve decided a bit more what the hash should be.

Emojis don't fit UTF-16. Even if one dismisses CJK, ancient scripts etc, constant strings are not absolutely unlikely to contain emojis.

Not supporting UTF-8 for internal storage may be reasonable, but not supporting UTF-32 for strings that require it seems like a bug.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]