- Jorge Escobar
- PowerBuilder
- Saturday, 3 November 2018 10:53 PM UTC
Hi all
From PB 2017 R3 .JSON files are generated and deposited in a directory to be read by another third party application made in Java.
The JSON files generated from PowerBuilder are stored encoded in USC-2 LE BOM and the Java application requires that it be encoded in UTF8 or EncodingAnsi.
lnv_JsonGenerator.saveToFile (path and file name)
is used to save the file. How would you do to save the file encoded in UTF8 or EncondingAnsi?
Note: you do not have access to the code of the Java application, so the change must be made in the PB application.
Regards,
Jorge
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.