[fpc-devel] Unit for handling UTF-8 strings
Kostas Michalopoulos
badsectoracula at gmail.com
Sun Apr 7 17:08:29 CEST 2013
Eh, you just did :-P
It wasn't added as a flamebait, i sincerely believe that UTF-8 is the most
important encoding since it is used almost everywhere when it comes to
Unicode.
Also I didn't mention UTF-16, i mentioned 16bit integers which some people
believe that they're enough to represent the whole of unicode and treat
each entry in strings of 16bit integers as characters much like they used
to treat eachentry in strings of 8bit integers as characters in early
codepage-based environments such as DOS and Win9x.
Of course i added the 16bit ints part mostly as a joke in a similar way to
saying "main in C really does return int (despite a lot of people for some
reason wrongly use void)" since i didn't expect anyone to take that part
seriously. I didn't thought much about writing that part to be honest, my
interest lies in adding UTF-8 to FPC's RTL units, not what other people
think about UTF-16, UCS-2, ASCII, EBCDIC or whatever :-).
On Sun, Apr 7, 2013 at 3:09 PM, Jonas Maebe <jonas.maebe at elis.ugent.be>wrote:
>
> On 07 Apr 2013, at 13:35, Kostas Michalopoulos wrote:
>
> But still no UTF8 in FPC, despite all the different implementations
> floating around out there and despite UTF8 being the most important Unicode
> encoding (being used by practically anything that doesn't falsely believe
> that 16bit integers are enough).
>
>
> Why is it that no debate about unicode can ever be held without adding
> flamebait about either UTF-8 or UTF-16? Please don't react to the above
> part of that message.
>
>
> Jonas
> FPC mailing lists admin
>
> _______________________________________________
> fpc-devel maillist - fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20130407/79d560d6/attachment.html>
More information about the fpc-devel
mailing list