wbing3
07-25-2005, 10:46 PM
I am working in a windows 2000 environment using JavaScript's OpenTextFile method to open a file for writing in UNICODE mode:
var fso = new ActiveXObject('Scripting.filesystemObject");
var fw = fso.OpenTextFile("myfile.txt", 2, true, -1);
How do I determine the character encoding scheme (utf-8, utf-16, etc) used by JavaScript when writing (and reading if needed) this file?
I need to know this so that I clearly communicate with a Java program that will perform character conversions on this file and return it to my JavaScript function.
Thanks,
wbing3
var fso = new ActiveXObject('Scripting.filesystemObject");
var fw = fso.OpenTextFile("myfile.txt", 2, true, -1);
How do I determine the character encoding scheme (utf-8, utf-16, etc) used by JavaScript when writing (and reading if needed) this file?
I need to know this so that I clearly communicate with a Java program that will perform character conversions on this file and return it to my JavaScript function.
Thanks,
wbing3