Hi.

I'm very new to Perl and have a basic question. How can I convert special 
characters contained in a string to hexadesimal numbers. I'm trying to 
access a cgi program but  the string I use with the post method contains 
quote marks, question marks, etc. and the program crashes.

I have:

$string = "it's";

And I need to get:

$string = "it%XXs";

where %XX is the hexadecimal number.


Thank you.

- Oriol -







_________________________________________________________________
MSN Photos es la manera más sencilla de compartir e imprimir sus fotos: 
http://photos.latam.msn.com/Support/WorldWide.aspx


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to