RE: Problem in downloading a pdf file having Japanese characters in the name of the file

On Mon, 3 Nov 2003, Addison Phillips [wM] wrote:

> I think that an Internet-Draft with the IETF (that is, a new RFC) would be a
> more likely alternative, since RFCs define the headers and their semantics.
> It also seems that there are standards, but that they are not implemented
> consistently. That might actually be the starting place.

 I agree.

> > -----Original Message-----
> > From:
> >
> > Steve is correct.  There does not seem to be any standard for encoding
> > the "filename" value in the Content-Disposition header.

  At least for emails, there is clearly the standard(it's RFC 2231).
To be compliant with RFC 822/STD 11, one cannot use RFC 2047-style
encoding for filename and other parameters of MIME header fields.

  When it comes to http headers, there's no explicit mention. However,
http borrows several things from MIME so that it's quite natural to
assume what's true of RFC 822/STD 11 and MIME is also true of HTTP in
absence of a provision explicitly saying otherwise.

 As I wrote earlier, it's regrettable and unfortunate that it's buried
deep inside RFC 2231. It's certainly unlikely that many people came to
that document while looking for answers on the issue.

  Anyway, if a new standard is going to be written for http header, I'd
say that it should be 'raw UTF-8'.


Received on Monday, 3 November 2003 14:00:03 UTC