kader990 / android-rcs-ims-stack

Automatically exported from code.google.com/p/android-rcs-ims-stack
0 stars 0 forks source link

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

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 commented 9 years ago
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