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

2012-09-28 Thread Sven Barth
Am 28.09.2012 11:42, schrieb Graeme Geldenhuys: On 2012-09-28 10:28, michael.vancann...@wisa.be wrote: No, it is just for the XML reader, since it uses widestrings: Ah, so it only takes affect on the WideString type, not the String type. I guess from the name 'widestring manager' I should hav

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

2012-09-28 Thread Ludo Brands
> > No, it is just for the XML reader, since it uses widestrings: > > Ah, so it only takes affect on the WideString type, not the > String type. I guess from the name 'widestring manager' I > should have seen that relationship. :) > Using cwstring does affect some ansistring functions. It come

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

2012-09-28 Thread Graeme Geldenhuys
On 2012-09-28 10:28, michael.vancann...@wisa.be wrote: > > No, it is just for the XML reader, since it uses widestrings: Ah, so it only takes affect on the WideString type, not the String type. I guess from the name 'widestring manager' I should have seen that relationship. :) Thanks Michael.

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

2012-09-28 Thread michael . vancanneyt
On Fri, 28 Sep 2012, Graeme Geldenhuys wrote: On 2012-09-28 10:01, michael.vancann...@wisa.be wrote: 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. Sorry, I'm not very versed

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

2012-09-28 Thread Graeme Geldenhuys
On 2012-09-28 10:01, michael.vancann...@wisa.be wrote: >> >> 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. Sorry, I'm not very versed on WideString managers, so excuse if this

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

2012-09-28 Thread michael . vancanneyt
On Fri, 28 Sep 2012, Graeme Geldenhuys wrote: On 2012-09-28 09:41, michael.vancann...@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

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

2012-09-28 Thread Graeme Geldenhuys
On 2012-09-28 09:41, michael.vancann...@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

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

2012-09-28 Thread michael . vancanneyt
On Fri, 28 Sep 2012, Graeme Geldenhuys wrote: Hi, Somebody in the fpGUI support newsgroup raised an issue when using BOM, XMLRead units under Linux. Does the use of the DOM, XMLRead and XMLWrite units in FCL (from FPC 2.6.0) require the use of cwstring under Linux? XMLRead uses it, yes. We

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

2012-09-28 Thread Graeme Geldenhuys
Hi, Somebody in the fpGUI support newsgroup raised an issue when using BOM, XMLRead units under Linux. Does the use of the DOM, XMLRead and XMLWrite units in FCL (from FPC 2.6.0) require the use of cwstring under Linux? I'm using those units in the FPTest (Free Pascal Unit Testing Framework) proj