I need to write my own as when a URL.encoded string goes though a unix based mail server the string gets completely F**ked, so i need to incode it my self as teh URL.encod dose not follow the ascii standard.
ok, then take a step back and look at the entire process. Do you store strings as converted anywhere? You shouldn't. Can you send the string to your mail server BEFORE using URLencode? it's always best to convert the data ONLY when you are displaying it. Changing it before storing it in a database or something is always a bad idea. What is the flow of data, or rather, the process the data goes through in your application? (ex: entered in form, stored in database, sent to mail server, displayed to end user????)<BR>~~Chaotix