0

How can I encode a string according to RFC 2396, using Actionscript/Flex 3?

Thanks in advance!

ketan
  • 19,129
  • 42
  • 60
  • 98
Rui
  • 5,900
  • 10
  • 38
  • 56

1 Answers1

0

Similar to Javascript, in Actionscript you can use the following top level (or global) functions to encode/decode URI's:

encodeUri() encodeURIComponent() decodeURI() and decodeURIComponent()

As well as:

escape() unescape()

There are subtle differences between these 6 global functions, check the links to the docs above. Here's an article that discusses the difference in Javascript, but it should be the same for Actionscript.

Sunil D.
  • 17,983
  • 6
  • 53
  • 65