Try
String variable = URLEncoder.encode(yourString);
Craig
-----Original Message-----
From: Garry De Toffoli [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 06, 2001 6:08 AM
To: [EMAIL PROTECTED]
Subject: Encode like HTMLEncode
Hi to all;
someone know a method like HTMLEncode in ASP?
This method would transform charachters like blank (0x20) or all the
character over the 127th ascii code in the corrisponding exadecimal value;
for example, I have a string containing these sequence: "für";
this would be encoded like this: "f%fcr", where %fc is the exadecimal
rappresentation of the char "ü";
Thank you very much.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]