This content has been marked as final.
Show 3 replies
-
1. Re: [JS] Codage file
Philippe Ruelle Feb 24, 2011 12:40 PM (in response to Philippe Ruelle)Or simply changed all the file encoding?
PC -> Mac fichier texte
-
2. Re: [JS] Codage file
[Jongware]-9BC6tI Feb 24, 2011 1:12 PM (in response to Philippe Ruelle)So close -- You were almost there
"open" only accepts one parameter -- the Open mode. After opening, you change the encoding through ... the "encoding" property!
fichier.encoding = "LATIN1";
You can find a list of all possible encodings in the Javascript Tools Guide, pp. 44ff., and it gets explained in the pages thereafter.
-
3. Re: [JS] Codage file
Philippe Ruelle Feb 24, 2011 1:29 PM (in response to [Jongware]-9BC6tI)Thank you,
I had indeed seen the news but bad use of code
A very big thank youfichierP = File(fichierP);
var laConfig2 = fichierP.open ("r");
fichierP.encoding = "LATIN1";
I am converting file entrint 3B2 and Access files (XML) for Indesign.


