View Full Version : Euro sign Problem
Fuego
04-20-2004, 12:31 PM
I do have a ASP form which forwards to mail but when I fill the
form out and use a € or ' it will write ? and " in the email.
How can i Fix this?
castali
04-20-2004, 12:44 PM
euro &# 8364; (just remove the space)
Fuego
04-20-2004, 12:50 PM
strMessage = Replace(strMessage, "€", "€")
doesnt work
castali
04-20-2004, 01:05 PM
no if I copy & # 8 3 6 4 ; you don't see it on the forum you see an euro symbol
just write >>
& # 8 3 6 4 ;
without space
&#....; and inthe middle 8364
without any space
I don't know how to past it here
Fuego
04-20-2004, 01:12 PM
strMessage = Replace(strMessage, "€", "& # 8 3 6 4 ; ")
without the spaces of course...but doensnt work...
it giving & # 8 3 6 4; in the mail then
:(
castali
04-20-2004, 01:22 PM
but why strMessage = Replace(strMessage, "€", "& # 8 3 6 4 ; ") ??
the symbole for euro is & # 8 3 6 4 ; without space
if I copy it here you don't see it ! it becomes at once €
every symbol can be written with &#XXXX;
a code number between &# and ;
in sted of XXXX just put 8364 and you will get an euro symbol
http://www.asciitable.com/ but I cannot find euro
Fuego
04-20-2004, 01:28 PM
I do understand U.
But the when the user inputs the Euro sign and send the form
then is the problem it does automatticly convert in the ? Symbol
So i have to replace it..But when I used the code above it wont
work..Understand my problem? So I do not have to hardcode the
Sign but its in a variable
castali
04-20-2004, 01:33 PM
maybe the font doesn't work .. try with times new roman
or do a Const EURO = "& # 8 3 6 4 ;"
or try htmlencode ...
then replace the word euro by the constant EURO
maybe also the coding of your page is wrong
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es">
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
strMessage = Replace(strMessage, "€", "& # 8 3 6 4 ; ")
without the spaces of course...but doensnt work...
it giving & # 8 3 6 4; in the mail then
:(
Are your mailmessages sent in html-format? They will need to be sent and openend as HTML to encode & # 8 3 6 4; into €.
You could of course write 'euro' ...
castali
04-20-2004, 01:35 PM
raf have you any idea how to paste here & # 8 3 6 4 ; not to get € ?
Fuego
04-20-2004, 02:12 PM
Im using Persits.MailSender
Probably Ive to use CDONTS
But Im fine with Euro instead of €
raf have you any idea how to paste here & # 8 3 6 4 ; not to get € ?
€
Tada
castali
04-21-2004, 06:26 AM
&#8364;
castali
04-21-2004, 06:27 AM
it works but & is not &
it works but & is not &:confused: Meaning?
I don't have an IIS at hand but i'd assume that you could server.HTMLEncode it, and that it would then show up correctly. Anyway, the eurosign is not that well know + it needs to be written in from on the value which simply looks strange, so i normally always just go for ' 200 euro'
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.