#6824
Yutaka Emura
Keymaster

How about…


document.Encoding = eeEncodingUnicode;
document.Save( filename );