I need to do this comparison:
if (string a == string b)

a is "hi"
and b is also "hi", but extracted from an XML file that has characters in
other encoding (shift-JIS, japanese to be exact).
this statement comes back false in Flex, which is not what I want.
the statement comes back true if the XML file has complete ascii in it.

so I'm guessing the byte representation of "hi" is different because the XML
parsing engine sees there are some other characters in shift JIS and assumes
"hi" is in that encoding as well.

how do I convert it back so I can compare to the actual string "hi".


thanks

Reply via email to