[fpc-devel] [PATCH] XMLCFG AnsiString<>DOMString conversion

Marco van de Voort marcov at stack.nl
Thu Nov 4 17:44:58 CET 2010

In our previous episode, Dariusz Mazur said:
> >> interesting.
> >>
> > Such patch will make all existing config files with non-ascii data 
> > unreadable.
> Today also. All nonasci charracter are translate to '?' during reading 
> (implicit conversion widestring>ansistring).
> On other side in XML should not be not asci char

This is not the same, current all chars in the current codepage (also above
127) will be fine. Only the ones NOT in the current codepage will turn up as
'?' If you change to UTF-8, this will change.

More information about the fpc-devel mailing list