Skip to main content
Participant
May 24, 2006
Answered

loadVars problem with characters

  • May 24, 2006
  • 1 reply
  • 203 views
hello everyone, i am a Actionscript novice and I have a small problem.
i am using the LoadVars class and the toString method to retrieve some result from the web. The result obtained is represented by the following string (which is not the full string, as it'll be much longer to write) :

sendRPCDone%28frameElement%2C%20%22chelsea%22%2C%20new%20Array%28%22chelsea%22%2C%20%22chelsea%20fc%22%2C%20%22

The problem is: how do I convert these characters in Unicode mode, such as %28, into ' ( ' ? Is there any special function?
thanks
K
This topic has been closed for replies.
Correct answer Antonio_82_
thanks blemmo

1 reply

Inspiring
May 24, 2006
Hi,

this string is url escaped, so you have to unescape it with the unescape() function.

greets,
blemmo
Antonio_82_AuthorCorrect answer
Participant
May 24, 2006
thanks blemmo