开发者

diacritics deploying Java EE app

开发者 https://www.devze.com 2023-01-23 02:11 出处:网络
I have an app that is sending mail via GlassFish JavaMail Session. I have localhost and production server, when I deploy the app on localhos开发者_StackOverflowt - development - everything is ok, bu

I have an app that is sending mail via GlassFish JavaMail Session.

I have localhost and production server, when I deploy the app on localhos开发者_StackOverflowt - development - everything is ok, but on production, the letters in the e-mail with diacritics are not displayed properly, but as ??? question marks. The acute letters works:áéóíú, but the caron ščřďťňž don't. Do you know where I should start to find the solution? Both are linux machines - one is Arch the other Debian.


Perhaps the encoding on one machine is utf-8 and the other is e.g. iso-8859-1?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号