Use the global function escape();

Sangeeta

On Dec 30, 10:26 am, ganesh <[email protected]> wrote:
> Hello All,
>           Is there any equivalent of Java API - URLEncoder.encode
> (String s, String enc) in Flex?
> I have used these global functions encodeURI() and encodeURIComponent
> () for encoding the URL. But it doesn't encode some of the special
> characters:  - _ . ! ~ * ' ( )
> These special characters are encoded by above java API (except  ".",
> "-", "*", and "_") . It means java API encodes these characters - ! ~
> ' which is not encoded by above flex global functions.
> Any pointers would be helpful. Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to