Project: titanium
Issue TIMOB-20288: Windows: File.write can't handle UTF-8 string
{{Ti.Filesystem.File.write}} writes wrong UTF-8 data. For instance following code doesn't show the string correctly. {code:javascript} var filePath = Ti.Filesystem.applicationDataDirectory + "test.txt"; var file = Ti.Filesystem.getFile(filePath); file.write("日本語 : Japanese"); alert(file.read().text); {code}
Story points: 5