Of possible interest: fast UTF8 validation

Nemanja Boric 4burgos at gmail.com
Fri May 18 09:06:35 UTC 2018


On Friday, 18 May 2018 at 08:44:41 UTC, Joakim wrote:
>
> I was surprised to see that adding a emoji to a text message I 
> sent last year cut my message character quota in half.  I 
> googled why this was and it turns out that when you add an 
> emoji, the text messaging client actually changes your message 
> encoding from UTF-8 to UTF-16! I don't know if this is a 
> limitation of the default Android messaging client, my telco 
> carrier, or SMS, but I strongly suspect this is widespread.
>

Welcome to my world (and probably world of most Europeans) where 
I don't type ć, č, ž and other non-ascii letters since early 
2000s, even though SMS are today mostly flat rate and people chat 
via WhatsApp anyway.


More information about the Digitalmars-d mailing list