Can't upload file which file name included japanese characters

Hi Eveyone,

Hi, I am confronting trouble that PDF files which our client give a file name in a particular Japanese word cannot be upload with Pega OOTB rules [pyCaseRelatedContent]

Attachment show that when I click [Select files] button and select a file name in a particular Japanese word , I can’t give the file.

It is Ok When I use english file name.

Can you give some suggestion on this. Thank you very very much.

Hi @chunliangl, I am facing the same issue. did you find any solution for this?

@chunliangl @SidhiM26 please do a PSC key word search.

Allow Kanji Characters in application

SendEmail Japanese attached filename garbled on OutLook

I found some information about a bug fixed in Pega Platform 8.7.6 Patch Resolved Issues.

BUG-811600 :Japanese filenames not supported in doAttachmentSingleCl

DownloadFromWebStorage updated to support UTF-8 text
A file with Japanese characters in the name appeared to be uploaded and attached with the correct name, but when that file was downloaded the name was altered to “ACPRIMARY_0.docx” (originally a Word file). Investigation showed that the custom file upload/download functionality being used called “pega.ui.HarnessActions.doAttachmentSingleClick” for the download. This uses pzDownloadFromWebStorage, and the Content-Disposition header for this has now been updated to support UTF-8 text.

Please can you test your issue with the latest patch?

Also I see that @chunliangl logged INC-A29834 on Christmas Day last year.

The solution was provided by our support team:

Make sure that the issue is due to a problem where tomcat.service JVM environment is not set properly. Recommend use the command line based start up script to use. eg set -Dfile.encoding=utf8.

In case Linux service type, recommend to use /usr/tomcat/bin/start.sh and shutdown.sh and set -Dfile.encoding=true onto setenv.sh.

Otherwise, set all environment values simulatenous of command line execution.