On Fri, 20 Aug 2010, ABorka wrote:
I implemented b), see revision 15859.
Tested it, and it seems to work nicely both for JSON and XML.
I'm using the AfterDataToJSON and AfterDataToXML events to replace/insert the
correct "total" now.
The only thing I've noticed is that with XML the "text" MySQL fields are not
coming over to ExtJS, they only say "(MEMO)" . Is that because XML does not
allow UTF8 or something?
No, this is a bug. I fixed it already in JSON (since I use that), but not yet
in XML.
Some non-"text" fields are also displaying strange characters with XML where
with JSON everything is good.
That is an encoding issue. The XML components need to know what kind of
codepage you use. I think we'll have to introduce a property for this in the
dataformatter. It will introduce some overhead :/
Michael.
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel