[ 
https://issues.apache.org/jira/browse/EMAIL-138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14259089#comment-14259089
 ] 

Thomas Neidhart commented on EMAIL-138:
---------------------------------------

I have tried to reproduce the problem now with different system charsets 
(property mail.mime.charset):

for ISO-8859-15:
{noformat}
Content-Disposition: attachment;
filename="=?ISO-8859-15?Q?Test_Attachment_-_a>=E4,_o>=F6,_u>=FC,_au>=E4u?="
{noformat}

for UTF-8:
{noformat}
Content-Disposition: attachment;
filename="=?utf-8?Q?Test_Attachment_-_a>=C3=A4,_o>=C3=B6,_u>=C3=BC,_au>=C3=A4u?="
{noformat}

So you can see that the respective charset is used during the encoding of the 
filename and also part of the resulting mime message. When opening the 
resulting email with thunderbird, the correct filename is displayed.

Can you more precisely specify the problem you are seeing?

> Czech/Slovak diacritic marks in the file name of the attached file screw 
> whole sent email
> -----------------------------------------------------------------------------------------
>
>                 Key: EMAIL-138
>                 URL: https://issues.apache.org/jira/browse/EMAIL-138
>             Project: Commons Email
>          Issue Type: Bug
>    Affects Versions: 1.3.2
>         Environment: Windows 7, JDK 7 (6 compatible).
>            Reporter: qed
>            Priority: Minor
>              Labels: diacritic
>             Fix For: 1.3.3
>
>
> Czech/Slovak diacritic marks in the file name of the attached file screw 
> whole sent email. Email will arrive but it's content will be messy. An 
> example of a filename which does this is "nazevřšččššě.txt". Optionally put 
> some text in email and in file. I tried HtmlEmail.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to