Skip to content
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

use UTF-8 as the default encoding for multipart text parts #1484

Merged
merged 1 commit into from
Dec 16, 2016

Conversation

arthurdarcet
Copy link
Contributor

After some tests on Chrome, it seems in multipart/form-data bodies, regular field=value parts are encoded using utf-8, not latin1

https://www.w3.org/TR/html5/forms.html#multipart/form-data-encoding-algorithm
https://dvcs.w3.org/hg/xhr/raw-file/tip/Overview.html#dom-xmlhttprequest-send

@codecov-io
Copy link

codecov-io commented Dec 16, 2016

Current coverage is 98.85% (diff: 100%)

Merging #1484 into master will not change coverage

@@             master      #1484   diff @@
==========================================
  Files            30         30          
  Lines          6984       6984          
  Methods           0          0          
  Messages          0          0          
  Branches       1163       1163          
==========================================
  Hits           6904       6904          
  Misses           40         40          
  Partials         40         40          

Powered by Codecov. Last update 8155889...faa8c4e

@asvetlov asvetlov merged commit 06e4027 into aio-libs:master Dec 16, 2016
@asvetlov
Copy link
Member

Sounds reasonable

@kxepal
Copy link
Member

kxepal commented Dec 16, 2016

It's good to see more UTF-8 defaults around (: Thanks!

@arthurdarcet arthurdarcet deleted the default-enc-multipart branch March 6, 2017 11:21
@lock
Copy link

lock bot commented Oct 29, 2019

This thread has been automatically locked since there has not been
any recent activity after it was closed. Please open a new issue for
related bugs.

If you feel like there's important points made in this discussion,
please include those exceprts into that new issue.

@lock lock bot added the outdated label Oct 29, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Oct 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants