writeln using non-English characters
Posted: March 4th, 2014, 8:36 am
I'm having a problem writing a line to a file when the text is a non-english character.
For instance, I run the following
writeTestEnglish will be True, and writeTestChinese will be False
Does anyone have an idea how to fix this?
Thanks,
Adam
For instance, I run the following
Code: Select all
var presetFile = File.saveDialog("Select a file...");
presetFile.open("w","TEXT","????");
var english = "A";
var chinese = "喜";
writeTestEnglish = presetFile.writeln(english);
writeTestChinese = presetFile.writeln(chinese);
presetFile.close();
Does anyone have an idea how to fix this?
Thanks,
Adam