SendEmail Japanese attached filename garbled on OutLook
Issue: I got some Clients using OutLook or Web based Mail reader disclaimed for garbled attach filename (Japanese or UTF8 encoded filename) on Pega email notice. It came from mime encoding issue.
Root Cause: On some infrustructure, could not detect the filename charactor code properly. mistook unicode string as ascii characters. As the result it set unicode binary onto the filename= value of Content-Disposition: parameter.
Solution: Add 2 paramters as JVM parameter.
-Dfile.encoding=utf-8
-Dmail.mime.encodefilename=true