[fpc-pascal] DOM, XMLRead, XMLWrite - cwstring requirement

Graeme Geldenhuys graeme at geldenhuys.co.uk
Fri Sep 28 10:55:04 CEST 2012


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.

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.

I'm also not sure how using cwstring unit would affect fpGUI apps that
use UTF-8 inside AnsiString containers. (just like LCL does)


> 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.

Regards,
  - Graeme -



More information about the fpc-pascal mailing list