[fpc-devel] utf8 in 2.6.0
Frank Church
vfclists at gmail.com
Mon Jan 7 15:25:47 CET 2013
On 5 January 2013 13:39, Mattias Gaertner <nc-gaertnma at netcologne.de> wrote:
> On Sat, 5 Jan 2013 13:06:42 +0000
> Frank Church <vfclists at gmail.com> wrote:
>
> >[...]
> > It is obvious that Unicode is not a simple topic and among FPC/Lazarus
> > developers/contributors,I suspect that few if any at all, have a detailed
> > grasp of how it all hangs together in the current state of
> implementation.
> > It brings to mind the parable of the 12 blind men and the elephant.
>
> The FPC and Lazarus UTF details are not that difficult. The
> complexity comes from adding Delphi *, third party libraries and
> old FPC, Lazarus versions.
>
>
> > I think a diagram or graph of Unicode rules and their current state of
> > implementation in FPC/Lazarus would go a long way to helping both
> > developers and end users in this area. It is a topic which comes up
> > regularly and it doesn't show signs of ever going to be properly
> resolved.
>
> For Lazarus:
> - works with fpc 2.6.x and 2.7.1
> - LCL and most code expect ansistrings to hold UTF-8.
> - pascal sources, lfm, po files are stored in UTF-8 without BOM.
> Special care has to be taken, when using widestrings/unicodestring.
> - there are UTF-8 functions and classes (most in package lazutils).
> - the IDE supports many encodings
> - all this is documented via wiki and fpdoc
> - no support for UTF-16 has been started
>
>
> >[...]
>
> Mattias
> _______________________________________________
> fpc-devel maillist - fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>
Glad to hear this.
--
Frank Church
=======================
http://devblog.brahmancreations.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20130107/76748dd4/attachment.html>
More information about the fpc-devel
mailing list