[fpc-pascal] Patch: new XML export for FCL-DB, was: SDFDataset multiline support: request for a look at patch+test, issue 17285
Ludo Brands
ludo.brands at free.fr
Sat Jul 23 12:23:45 CEST 2011
> I've uploaded initial implementation in issue 19790. Can't
> get UTF8 working & would appreciate people having a look at
> it. (So my earlier estimate of having something by next week
> might still be valid ;)
>
TDOMDocument.CreateTextNode expects a DOMString which is WideString. The
windows string to unicode conversion assumes the string is ansi. Use:
FOutputDoc.CreateTextNode(UTF8Decode(EF.Field.AsString));
BTW importing the output xml in access 2002 results in access crashing. I'm
looking into that.
Ludo
More information about the fpc-pascal
mailing list