El 30/05/15 a las 13:29, silvioprog escibió:
On Sat, May 30, 2015 at 12:14 PM, "Leonardo M. Ramé" <l.r...@griensu.com <mailto:l.r...@griensu.com>> wrote:[Window Title] project1 [Content] { "var1" : "bGVvbmFyZG8=" } - leonardo [OK] But after take a look at your code, it seems better to use as: myString := '{ "var1": "' + StringToJsonString(Base64EncodedString) + '" }' Because function "StringToJsonString" will encode string in a JSON-escape string.
Hi Silvio, can you try encoding the attached file, then output using both methods?.
Leonardo
plantilla-original.ott
Description: application/vnd.oasis.opendocument.text-template
-- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus