• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • Al Hobbs
  • salvin francis

Multilingual Mail

Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?=

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?
Posts: 43027
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic