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

[FToHTTP] HTTP Post request are not encoded in UTF-8 charset #158

Open
GoogleCodeExporter opened this issue Jun 30, 2015 · 1 comment
Open

Comments

@GoogleCodeExporter
Copy link

The HTTP Post request sent to the HTTP Content Server to upload a file during a 
FToHTTP, is not encoded in UTF-8.
In the server side when the method: request.getCharsetEncoding() is called, it 
returns "null" while it should return "UTF-8".
Because of this, when the client try to upload a file with a name : for 
example: É65ñHû.jpg , the name is not decoded correctly by the server.

Original issue reported on code.google.com by allaouis...@gmail.com on 2 Oct 2013 at 2:21

@GoogleCodeExporter
Copy link
Author

we have corrected to encode the filename in UTF-8.
For the moment, we don't set charset="UTF-8" in Content-Type because it's not 
really clear in standards.

Original comment by benoit.j...@gmail.com on 11 Oct 2013 at 2:03

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant