473,407 Members | 2,676 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Which CDO.Message Charset Should I Use?

Hi,

I am relatively new to using CDO.Message, and I desperately need some
help!

I have an ASP 3.0 application that uses CDO to send automatic alerts
through Exchange 2003. How do I determine which charset to use for the
objMessage.BodyPart.CharSet?

The users of this application typically enter the HTMLBody message
through a form's textarea box. Often, they might cut and paste this
data from a MS Word file, which plays havoc on the message whenever
special characters are encountered, such as smart quotes, em dashes,
vulgar fractions and degree symbols.

Initially I tried the Replace function to exchange these characters for
their html counterparts; however, this appears not to affect the
CDO.message.

I have also tried the following with no success:
objMessage.BodyPart.CharSet = "us-ascii"
objMessage.BodyPart.CharSet = "utf-8"
objMessage.BodyPart.CharSet = "windows-1252"

Should I think about changing the charset in my General.asp page from
<META http-equiv=Content-Type content="text/html; charset=unicode"> to
something else?

I could really use some direction here to get this figured out. Thanks
in advance for any assistance you can offer!

Chris

Oct 13 '05 #1
0 6595

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

30
by: The Plankmeister | last post by:
In the <meta http-equiv="Content-Type" content="text/html; charset=????????"> tag, what is the best charset to use? I tend to use UTF-8, for no reason other than it sounds much cooler than...
25
by: Andrew Thompson | last post by:
I was recently loading an HTML editor so I could find the charcode of that particularly obscure character using the editor's 'insert special character' dialog. It occured to me there had to be...
1
by: Paul | last post by:
Assume you have two varchar (or Text) columns named L and U which are identical except that the charset for L is latin1 and the charset for U is utf8. All the records in L and U are identical in...
34
by: nose | last post by:
Hi, A little poll for the week-end: Which charset do you use for your website(s): utf-8? iso-8859-1 (...)? other? just don't care? What charset is better now, say, for European languages like...
4
by: John Baro | last post by:
I need to determine which fonts are human readable. Webdings, wingdings etc.. are not. Is there any easy way to accomplish this? Cheers JB
0
by: Benny Ng | last post by:
The SQL designation of the project has finished. now the system needs to support 3 languages. (English,Simpfilied Chinese,Traditional Chinese) and now returns to web page . if we needs the...
0
by: Ricky Chan | last post by:
I am using DNSQuery API to get computer name from IP address. However, by below sample code, I don't know how to specify the DNS Address for the field (ByVal aipServers As Integer). any idea?...
7
by: gmclee | last post by:
Hi there, I am writing a program to load HTML from file and send it to IE directly. I've met some problem in charset setting. Most of HTML have charset "us-ascii", for some reason, some UNICODE...
1
by: Itanium | last post by:
Hello all! I need to override the RichTextBox GetPositionFromCharIndex(int index) method and implement it by myself because of a performance issue in my app. The EM_POSFROMCHAR message return...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.