留言板
encoding file name attachment
Hi!!
I have one file to attach to my MailMessage object.
Its name must accept special character like á, é, í, ó, ú...
In other words, variable "name" have valor = "Luís.pdf", but file name is "Lu�s.pdf" finally
Any suggestion please?
I have one file to attach to my MailMessage object.
Its name must accept special character like á, é, í, ó, ú...
In other words, variable "name" have valor = "Luís.pdf", but file name is "Lu�s.pdf" finally
Any suggestion please?
David H Nebinger,修改在7 年前。
RE: encoding file name attachment
Liferay Legend 帖子: 14919 加入日期: 06-9-2 最近的帖子
Have you considered that the mail systems might not allow for encoded filenames? They tend to be kind of rigid since that kind of thing has been used to encode malicious files with names that users might otherwise open not knowing the content was tainted.