Hi all,
for my webservices I've written a class to handle JSON and I'm using xFiles to handle the XML output. I noticed that the xFiles produces "other" utf-8 than the json class.
for json I'm using StringTheory.ToUnicode method and I see that xFiles uses code in the ._WriteCurrentField procedure somewhere at the following comment line (around line 3010):
! -- Do UTF-8 Encoding ---
I think the StringTheory .ToUnicode method produces better UTF-8 output, as far as I can tell xFiles doesn't take into account what codepage it's originating from, but I'm not entirely sure and by all means not an export with regard to encoding ...
Either way : one must be wrong ...
regards,
Ton