Problems with caracter encoding

FastRodas

Freshman
Joined
Apr 14, 2004
Messages
25
Hi to all Xtremers,
:confused:
I am trying to send an email with the result of a form. some fields are currency. i can format it on my page, but when i email it the format is remove.
i format it like this String.Format("{0:c}",reader.Item("saleAmount"))

but the result of my emails is 11.114,00 ?

this is the way i define my mail properties
objEmail.To = MailTo
objEmail.From = From
'objEmail.Cc = txtCc.Text
objEmail.Subject = subject
objEmail.Body = Mailbody
objEmail.Priority = MailPriority.Normal
objEmail.BodyFormat = MailFormat.Html

the body of my email starts like this
Body = "<html><head><title>Encomenda</title><meta http-equiv='Content-Type' content='text/html; charset=UTF-8'>"


any idea to solve this?
thkx
 
the {0:c} will generate formatting based on your regional settings, what is your PC configured to use as its locale? Is it the correct one and if so does the formatting match with what you are getting?
 
Back
Top