Export data form in text file with encoding UTF-8
I have a pdf form with javascript to export some data in fichier text with the following script :
var Data =
this.getField("Texte3").value
var doc =
this.createDataObject({cName:"Data.txt",cValue: Data});
this.exportDataObject({cName:"Data.txt",nLaunch:2});If there are no special characters in the field, the text file is in UTF-8, but as soon as there is a special character, the text file is in ANSI.
Would there be a solution for the text file to remain in utf-8 but if there are special characters in the field?
