-
Notifications
You must be signed in to change notification settings - Fork 17.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mime.ParseMediaType can't handle non-ASCII filename #1119
Labels
Comments
Owner changed to steph...@golang.org. |
Comment 2 by stephenm@golang.org: rfc 2616 (the http/1.1 spec) states that quoted strings in the header values can contain only iso 8859-1 characters, and also states that non iso 8859-1 text needs to be encoded using rfc 2047. This is repeated in rfc 5987. Having said that, support for utf-8 encoding using rfc 5987 should be added. Also, if there's a way in which we can correctly handle iso 8859-1 characters in the filename, it would make sense to implement that as well. For exhaustive background reading, see http://greenbytes.de/tech/tc2231/ |
Owner changed to @bradfitz. Status changed to Started. |
This issue was closed by revision 98176b7. Status changed to Fixed. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
by maddogfyg:
The text was updated successfully, but these errors were encountered: