My current task is to implement localization for a website.
And tadaan! Works like magic :D
Read more ...
There is no issue with displaying the Chinese characters in the website.
However, I just have one problem: Chinese characters appear as question mark in emails.
Already set the encoding to UTF-8 but it still won't work.
I did some research and come up with these links:
- http://www.pinyinjoe.com/faq/outlook-chinese-display.htm
- https://support.google.com/mail/answer/17091?hl=en
- https://productforums.google.com/forum/#!topic/gmail/vnSf4HxYAXs
- http://mytechanalysis.blogspot.com/2011/01/display-chinese-characters-in-gmail.html
These links, though helpful, did not solve the problem.
Fortunately, my team leader eventually got the solution.
In the config file, we just had to add this property for the JavaMail bean.
<property name="defaultEncoding" value="UTF-8"/>
And tadaan! Works like magic :D