Op Sat, 30 Aug 2008, schreef Michael Van Canneyt:



On Sat, 30 Aug 2008, Florian Klaempfl wrote:

I've continued to work on support of an unicodestring type in fpc. It's
currently in an svn branch at:
http://svn.freepascal.org/svn/fpc/branches/unicodestring
and will be merged later to trunk. The unicodestring type is a ref. counted
utf-16 string. On non-windows, widestring is mapped to this type. If you're
interested in unicode support please test, give feedback here and submit
fixes.

An existing working copy of trunk can be switched to this branch by
cd fpc
svn switch http://svn.freepascal.org/svn/fpc/branches/unicodestring
and back with
svn switch http://svn.freepascal.org/svn/fpc/trunk

What happened to the idea of dynamical encoding ? And why utf-16 ? Unix
uses UTF-8 by default, which means that a conversion must be done each
time you interface to the OS ?

A conversion must be done for applications using UTF-8 as well. Only if you are writing charset agnostic code, no conversion is necessary.

Daniël
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to