Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Multilingual Mail

 
Gerald Amalraj
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am working in mail support program where i will send mails in different languages. i have an option to send Chinese characters in from name,
when it is delivered to the user the Chinese characters are displayed and if there's no characters mentioned in from name then the default from address will be displayed.

My problem is when i mention Chinese characters more than 72 in from name then the mail delivered to the user contains only the from address and not the Chinese characters and when I'm using Chinese characters lesser than 72 then it is displaying properly.

FYI: Chinese characters are converted to the below format and it working when its contains 4 blocks. the below scenario is working

=?big5?B?rPyw6rDqt3ymQKlNxNKw0cSzpEis/LDqsOq3fKZAqU3E0g==?= =?big5?B?sNHEs6RIrPyw6rDqt3ymQKlNxNKw0cSzpEis/LDqsOq3fKZA?= =?big5?B?qU3E0rDRxLOkSKz8sOqw6rd8pkCpTcTSsNHEs6RIrPyw6g==?= =?big5?B?sOq3fKZAqU3E0rDRxLOkSKz8sOqw6rd8pkCpTcTSsNHEs6RI?=
<gerald.amalraj@gmail.com>

My questions are:
1.Is there a limitation in mail.jar to limit the Chinese characters being displayed.
2. how to find the real root cause of this problem.
3.how its breaking into parts
4. what am i suppose to bring all the characters into this four blocks.
5.What am i missing?
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

Transmitting Unicode characters in email headers is not currently supported by the common email standards. There is an RFC on how to do that (RFC 5335), but it's brand new, and not yet supported widely (or at all). So I don't think there's a general solution to this at the moment.
 
I miss the old days when I would think up a sinister scheme for world domination and you would show a little emotional support. So just look at this tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!