Re: [dev][st][patch] new utf decoder

From: Silvan Jegen <s.jegen_AT_gmail.com>
Date: Fri, 28 Mar 2014 15:00:52 +0100

On Thu, Mar 27, 2014 at 1:29 PM, Damian Okrasa <dokrasa_AT_gmail.com> wrote:
> 2014-03-24 9:43 GMT+01:00, Christoph Lohmann <20h_AT_r-36.net>:
>> The naming is wrong. It is just decoding »utf8« and can’t decode
>> »utf16«. So: s,utf,utf8,g
>
> Hey,
>
> I have stripped all '8's, because there is UTF_SIZ instead of UTF8_SIZ.

I would argue that all common Unicode transformation encodings use the
same maximum byte size:

Utf-8 = 1-4 bytes
Utf-16 = 2-4 bytes
Utf-32 = 4 bytes

so the explicit "8" in this variable name is not needed.


Cheers,

Silvan
Received on Fri Mar 28 2014 - 15:00:52 CET

This archive was generated by hypermail 2.3.0 : Fri Mar 28 2014 - 15:12:06 CET