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
It would be interesting if future versions in saveToFile of JsonPackage allow to specify the encoding.
Yes, I agree. Please open a Support Ticket for this as an enhancement request. ?