views:

97

answers:

1

I'm writing all sorts of multi lingual text to .txt files using AIR's

fileStream.writeUTFBytes()

For english characters everything works perfectly. But as soon as there are chinese, arabic or any other non-english characters the sentences are totally messed up.

For example:

对着大叔摄影师的确没爱....

becomes

对着大叔摄影师的确没爱....

How can this be fixed?

+1  A: