[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: HTML mail + PDF attachments



	Hi.

On Fri, Mar 27, 2020 at 02:22:18PM +0200, Andrei POPESCU wrote:
> > or an attachment was named using non-Latin characters.
> 
> Is that non-Latin or non-ASCII?

I'm not that familiar with the languages to qualify Romanian as a Latin
or a non-Latin language, but your attachment really is:

Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename*=utf-8''%C8%99urubelni%C8%9B%C4%83_empty%2Etxt

So, that's Unicode, at least a part of it, namely - \uc899, \uc89b and
\uc483 glyphs.
rfc2047_parameters works on it as intended btw.


> The former would imply about half of the 
> world's population, the latter something like two thirds or more (just 
> guessing, didn't check numbers).

Even for those cases there's a legitimate need to attach a file which
name conforms to ASCII. Source code, patches, images with names like
20200327143420.jpg etc.

Reco


Reply to: