Re: Why Work at Encoding Level?

From: Daniel Bünzli <daniel.buenzli_at_erratique.ch>
Date: Wed, 21 Oct 2015 02:47:45 +0100

Le mercredi, 21 octobre 2015 à 02:23, Mark Davis ☕️ a écrit :
> But more fundamentally, there may not be "excuses" for such software, but it happens anyway. Pretending it doesn't, makes for unhappy customers. For example, you don't want to be throwing an exception when one is encountered, when that could cause an app to fail.

It does happen at the input layer but it doesn't make any sense to bother the programmers with this once the IO boundary has been crossed and decoding errors handled. A good Unicode string in a programming language should at least operate at the scalar value level and these notions of Unicode n-bit strings should definitively be killed (maybe it would have inspired hopeless designers of recent programming languages to actually make better choices on that topic).

Best,

Daniel
Received on Tue Oct 20 2015 - 20:48:41 CDT

This archive was generated by hypermail 2.2.0 : Tue Oct 20 2015 - 20:48:41 CDT