Question
Attached File Name which has special characters replaced with untitled file when mail get triggers with attachments.
Hi Everyone,
When a file attached with chinese characters as file name file is getting corrupted to .dat file.
For this we had HOTFX that resolved my problem. But File name is replaced with untitled file in mail.
I tried my level best to figure it out where it is changing
1) tried in java step of pyuploadfile activity
2)tried by keeping alert in pzmultifilepath control
3)tried in pega OOTB activity sendsimpleemailwithallattachments.
4)checked in service export path in server.
5)In attachments related classe Data-WorkAttach-File,Link-Attachments of specific instance.
every where file name is exactly same which i attached i.e.,chinese characters. But in mail file name is getting replaced with untitled file.
Thanks,
Arun.
Hi there,
pyFileUpload is the property which contains the filename. Use the option "Watch" in tracer to identify the point where the value of this property is getting changed.
Also, it might be possible that your application server doesn't support chinese characters due to which the filename is getting changed when the file gets uploaded to the server. Check with your admin team if the server has the required encoding to support the characters being used. UTF-8 encoding is capable of handling all the characters.