function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
jiforcejiforce 

email subject encoding problem

I have written an apex email function by using Messaging.SingleEmailMessage class.

 

We have translated system into Japanese and the end user system is in Japanese; however, the subject of sent email shows ???? question mark which doesn't display properly. The email body does display properly.

 

Any idea how to encode email subject and make it display properly?

 

Thanks!

Vishwas AbhyankarVishwas Abhyankar
Even I am facing the same problem. The problem started occuring after the sandbox refresh. admin please post a solution to this problem.
Email body is going with Japanese encoding but if subject line contains Japanese characters the ????? symbols are coming.