Display problem of mutilingual data(English & Hindi) retrieved from Oracle database to Flash

I am developing a flash application using Flash Remoting, however there are some texts retrieved from Oracle database(supports Unicode data) that on arriving to the swf flash cannot interperet. It displays characters in swf as it is stored in the database.

Could anyone please suggest any solution.
Thanks in advance.

chukxAsked:
Who is Participating?
 
CalronCommented:
What you have to make sure is that the variables you are passing to flash are in the correct code. Now in php I use the following line ot encode the variable string to a format that Flash understands:

$text = utf8_encode($text);


I don't know what command to use for ASP, but there should be something similar which encodes the text to a format that flash will recognize correctly.
0
 
CalronCommented:
How do you load your data into flash? using php, asp? If so could you post some of the code you use that constructs the data dor flash?
0
 
chukxAuthor Commented:
LoadVars.load(url) method helps to load data from the specified url.
For eg :
 var user= new LoadVars();
 user.load("http://....");
 This downloads variables from the specified URL, parses the variable data, and places the resulting variables into user.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.