• 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 ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Multilingual Email - help needed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am working on a project that has a requirement to send emails in different languages.
The email contents are in different property files and my java program has to read these files and send emails. The list of languages that has to be supported are english, european languages and far east asian languages like Chinese, Japanese and Korean. I did some research on Internationalization and found that UTF-8 is the encoding that supports all languages. Infact I did my program using this, and I was able to successfully read an email in all these languages in my lotus notes. But, the same email sent to hotmail and yahoo had some problems. Both, in hotmail and yahoo did not render the text correctly. In addition, hotmail did not allow me to change the encoding to UTF-8, the page reloaded when I did this and it set the encoding back to some European encoding.
So, First of all I would like to know if my approach is correct, i.e. is UTF-8 the solution, or should I use individual encoding for each language.
Even if I use the latter, is there any way for all Email clients(hotmail, yahoo etc) to render the email in the correct language without the user having to manually select the encoding.
Any inputs on this is much appreciated.
Thanks
Sowmiya
 
Ranch Hand
Posts: 1923
Scala Postgres Database Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My mailclient is mozilla and handles far eastern charactersets (chinese, japan, corean) - which I can neither distinguish, nor read, but they look nice to me - russian spam (I'm proud to know some characters ) and the western language-encodings.
But when I'm online reading my mail, the Mailprovider shows me unreadable trash.
So if it's your job to send mail, I guess your solution is right.
You aren't responsible for the mail-sites of yahoo and hooya and can not force them, to display the mail the right way, because they put funny ad-frames around the mail, and if the encoding is set in the wrong way, you can't do anything about it.
In other words: The mail protocol is wrapped by the http, and if sophisticated mail-clients display your mail correct - you did your job fine.
Perhaps mail-viewer in the far east are configured to display far-eastern mails correct, and most user will use the right instruments to get their mails read.
 
I got this tall by not having enough crisco in my diet as a kid. This ad looks like it had plenty of shortening:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic