Unicode chars and Spring JavaMailSenderImpl, no unicode chars under Linux!

前端 未结 3 1768
谎友^
谎友^ 2021-01-12 11:33

I\'m using Spring and JavaMailSenderImpl, a famous spring class to send emails. My emails contain a lot of unicode chars like èéàò or most notably the dreaded € symbol. My c

3条回答
  •  借酒劲吻你
    2021-01-12 12:29

    The problem is likely to be when you translate between an array of bytes (e.g. reading from a file) and a java.lang.String. Can you give more detail on your application's architecture?

提交回复
热议问题