Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / August 2006

Tip: Looking for answers? Try searching our database.

Sending email in multiple languages

Thread view: 
Tara - 10 Aug 2006 23:19 GMT
We're trying to send out HTML emails in multiple languages
(English and Chinese (simplified and traditional)).

The subject as well as the body may contain multi-byte
characters.

We're having trouble making the email readable for all audiences.
 Outlook (back to 2003)
   On English computer
   On Chinese computer
 Hotmail
   on IE with a chinese (simpl or trad) locale
   on Firefox with a chinese (simpl or trad) locale
 Yahoo mail
   on IE with a chinese (simpl or trad) locale
   on Firefox with a chinese (simpl or trad) locale

So far we're base64 encoding with a multipart doc type and
encoding with  Big5 or GB1208 depending on the user's locale.
(UTF-8 didn't work very well).

Is there a mostly-universal way of doing this?

Tara
Thomas Weidenfeller - 11 Aug 2006 10:39 GMT
> We're trying to send out HTML emails

That alone is a bad idea. Many spam filters assign an extra score to
HTML mails. And a lot of people even immediately block mail with a
text/html mime type. Many web-based mail services (you mentioned a few),
do so, too. If it contains HTML, it smells like spam.

> We're having trouble making the email readable for all audiences.

Since you didn't care to give a more precise problem and error
description, don't expect a step-by-step instruction on how to fix your
problem.

> So far we're base64 encoding with a multipart doc type and
> encoding with  Big5 or GB1208 depending on the user's locale.
> (UTF-8 didn't work very well).
>
> Is there a mostly-universal way of doing this?

No, MUAs are almost free to interpret and display multipart mime mail
however they fell like. The RFC places only few requirements on the
different presentation of different multipart subtypes. In addition,
particular web-based services (but also stand-alone-MUAs - Microsoft
products are notorious) can be very "creative" in interpreting the
standard and don't support everything needed.

/Thomas

Signature

The comp.lang.java.gui FAQ:
ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/computer-lang/java/gui/faq
http://www.uni-giessen.de/faq/archiv/computer-lang.java.gui.faq/



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.