Click to See Complete Forum and Search --> : Wrong encoding when passing data from form


Foundas
07-21-2006, 08:09 PM
Hi guys,


i am facing a problem with the encoding. I have a form to send email. I am using :

message=request("message")
message=replace(message,vbcrlf,"<BR>")

to get the message the user types and then i insert it in an .htm file and send the .htm file to the email address

Characters like the " - & *!@# are displayed all wrong.

Is this an encoding problem? I am currently using in the .htm file this:

<meta http-equiv=Content-Type content="text/html; charset=utf-8">


Any advice?

Thanks

Terrorke
07-23-2006, 03:46 PM
Why would you first want to insert the message into an .htm?
Why not just send a HTML mail?