1
I have 2 applications developed in RAD XE2. One has as object the typing of data that will be written in an XML file and the other, responsible for reading, validating and importing the generated XML to the Database.
I decided to test the Rad 10 Seatle and recompiled the applications. Almost everything works, but when importing the data the version compiled in Delphi-10 does not recognize the encoding (UTF-8). If I export by Delphi-10 version and import by XE2 compiled version works normally.
To import and generate the XML file I used the XML Mapper to create a configuration file (xtr). When I test the import of XML data inside the XML Mapper, it displays the carcter correctly (ã, ç, etc). For data import I use an Xmltransformprovider ("connected" to the xtr configuration file) and the Xmltransformprovider is "connected" to a clientdataset where the data is loaded. I think it is at this point that the problem occurs, because when I visualize the data of the clientdataset, they appear incorrect (the special characters are not recognized).
If anyone can give a hint, I’d be grateful.
Hello Carlos, Thanks for the help. The overlay of the Ongettext method did not work, but the conversion with Utf8tostring works. For now I’m using the code you put in the Afteropen to correct "in hand" after opening the table until I figure out how to overwrite Ongettext correctly.
– mcbatalha