0 Replies Latest reply on Oct 15, 2007 12:24 PM by gumnam

    Possible bug in unescape function

    gumnam
      I am migrating Flex 1.5 application into Flex 2.0. I have Flex builder 2.0.1 installed. When I try to unescape url-encoded string which contained a '+' symbol it used to work in Flex 1.5. ie. it used to convert it into a space , but apparently its broke in Flex 2.0.

      Here is the code sample:

      var s :String = "%3CCommand+name%3C" ;
      trace(unescape(s));
      Expected output:

      <Command name<

      Actual output:

      <Command+name<

      Does anybody know the solution to get it working?