A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: url encoding

  1. #1
    Senior Member
    Join Date
    Apr 2001
    Posts
    306

    url encoding

    I'm putting together a string of variables to spit into a cookie. The string contains characters like ^ and =. When I retrieve the cookie data it encodes those special characters. Such as, =... %2e

    Is there a way to override this?

  2. #2
    FK'n_dog a_modified_dog's Avatar
    Join Date
    Apr 2003
    Location
    "aaarf"
    Posts
    9,176
    use unescape -
    str = "^ and =. ";
    newStr = escape(str)
    trace(newStr);

    newStr2 = unescape(newStr);
    trace(newStr2);

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center