I'm currently started learning to write my first Air program.
i parsed a csv file using flash.filesystem.File and
flash.filesystem.FileStream and i was successful in reading the
content of the csv file in UTF-8. However, when the file is either
in unicode or it has chinese characters in it, it all becomes ???
signs... Is there any way i can convert the encoding or some sort?
You may be looking for the FileStream.readMultiByte() method,
which takes the encoding as an argument. Note that you have to know
what encoding is used in the file; there's no way for AIR to
determine that a priori.