[fpc-pascal] DOM, XMLRead, XMLWrite - cwstring requirement
michael.vancanneyt at wisa.be
michael.vancanneyt at wisa.be
Fri Sep 28 11:01:16 CEST 2012
On Fri, 28 Sep 2012, Graeme Geldenhuys wrote:
> On 2012-09-28 09:41, michael.vancanneyt at wisa.be wrote:
>>
>> XMLRead uses it, yes.
>
> Umm, so how would that affect applications that normally use UTF-8
> packed in AnsiString? Like fpGUI and LCL based applications.
It depends on the encoding of the XML, I suppose ?
>
> To give you the exact example.
> He has XML units he would like to unit test. He can use the FPTest Text
> Runner no problem, but he would prefer to use the FPTest GUI Test Runner
> (created with fpGUI). Under 64-bit ArchLinux the GUI Test Runner bombs
> out at runtime. Under 64-bit Ubuntu or OpenSUSE the GUI Test Runner runs
> without problems.
>
> I'm totally baffled as to what would be the cause of the crash at
> runtime - just on ArchLinux.
Me too :-)
>
> I'm also not sure how using cwstring unit would affect fpGUI apps that
> use UTF-8 inside AnsiString containers. (just like LCL does)
It all depends on the XML.
>> but we're currently stuck on dealing with a
>> copyright requirement of the Unicode group.
>
> I saw a similar post (from a FPC developer) in the Delphi newsgroups.
I know.
Some of us think that Embarcadero may be violating the copyright :)
We have asked clarification of the unicode group, but got no reply yet.
(whether we ever will is another matter)
Michael.
More information about the fpc-pascal
mailing list