How to include different Character Sets in Flex AIR project

Hi All,

Flex, AIR(Desktop) Project.

PROBLEM Scenario:

My Application needs a path from Windows registry, So I am launching a .cmd file using Native Process API.
As a result I get a text file with the path.

So, everything works fine(reading/writing), but if the path contains different languages like Korean, Chinese then the READING OPERATION FAILS only when I install the application. It works fine while debugging.
(By failing I mean its not getting the characters, its printing some garbage values.)

I am using readMultibyte & writeMultibyte APIs, and I am assiging the character set dynamically as per the OS language. (Which is Enslish in current scenario)

FINDING:

I installed Windows with Korean Language on a system, so now if I build the .exe on this machine then it works fine. So, i guess its not able to get the Korean Character set from the English OS, thats why it failed in earlier case.

Is there any way to include different character sets in a Flex project?

Regards,
Mayank