Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP General (http://www.velocityreviews.com/forums/f65-asp-general.html)
-   -   CDO.Message (http://www.velocityreviews.com/forums/t804636-cdo-message.html)

Mark 01-29-2009 07:52 PM

CDO.Message
 
We send emails to our empolyees and recently, the emails have started
to change characters into different ones. I've looked in various
groups, hard to search on the issue.

For example, we send:

français

but it shows up in our email as

français

other characters too, like ’ shows up as ’ and so on

It is stored correctly in the database, and if we query and display it
in a web browser it shows correctly. So clearly something in the mail
reader has changed, but we need to have it display it correctly. I've
tried (and maybe I'm doing it wrong) to add

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

at the start of the email, no luck. What can we do to ensure this
stops?

Thanks for any help.

Terje 01-29-2009 09:16 PM

Re: CDO.Message
 
CDO sucks big time. The encoding problems are ridiculous. And what a
stupid object model is this crap?

oFields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing")
= cdoSendUsingPort

terje

Neil Gould 01-30-2009 01:16 AM

Re: CDO.Message
 
Mark wrote:
> We send emails to our empolyees and recently, the emails have started
> to change characters into different ones. I've looked in various
> groups, hard to search on the issue.
>
> For example, we send:
>
> français
>
> but it shows up in our email as
>
> français
>
> other characters too, like ’ shows up as ’ and so on
>
> It is stored correctly in the database, and if we query and display it
> in a web browser it shows correctly. So clearly something in the mail
> reader has changed, but we need to have it display it correctly. I've
> tried (and maybe I'm doing it wrong) to add
>
> <META http-equiv=Content-Type content=""text/html; charset=UTF-8"">
>
> at the start of the email, no luck. What can we do to ensure this
> stops?
>
> Thanks for any help.
>

Perhaps someone will have a better answer for you, but AFAIK, one can't
override the client settings with ASP, and that is where such changes occur.

Best,

Neil




Anthony Jones 02-04-2009 09:01 PM

Re: CDO.Message
 

"Mark" <mark.kempe@gmail.com> wrote in message
news:ade5b80b-4e4c-4324-afa1-fef949870c6f@w24g2000prd.googlegroups.com...
We send emails to our empolyees and recently, the emails have started
to change characters into different ones. I've looked in various
groups, hard to search on the issue.

For example, we send:

français

but it shows up in our email as

français

other characters too, like ’ shows up as ’ and so on

It is stored correctly in the database, and if we query and display it
in a web browser it shows correctly. So clearly something in the mail
reader has changed, but we need to have it display it correctly. I've
tried (and maybe I'm doing it wrong) to add

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

at the start of the email, no luck. What can we do to ensure this
stops?
<<<<<<<<<<<<<<<<<<<<<<

Can you show us some of your code. What you are seeing is UTF-8 encoded
characters being read by the client as if they were Windows-1252 characters.
This usually happens because the CharSet on the message isn't specifying
UTF-8 as the encoding.



--
Anthony Jones - MVP ASP/ASP.NET



All times are GMT. The time now is 02:46 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57