[jira] [Created] (OFBIZ-4337) HttpClient does not support UTF-8

Posted by Nicolas Malin (Jira) on
URL: http://ofbiz.116.s1.nabble.com/jira-Created-OFBIZ-4337-HttpClient-does-not-support-UTF-8-tp3658997.html

HttpClient does not support UTF-8
---------------------------------

                 Key: OFBIZ-4337
                 URL: https://issues.apache.org/jira/browse/OFBIZ-4337
             Project: OFBiz
          Issue Type: Bug
          Components: framework
    Affects Versions: SVN trunk
         Environment: Ubuntu
            Reporter: Chatree Srichart
            Priority: Critical


I tried to send XML message includes Thai character using HttpClient.post(stream) method but the receiver got an unexpect character replaced to the Thai character has been sent. If I encode the stream using UTF-8 then it works fine.
I have attached the patch file to solve this problem. Please commit the patch if it is useful for OFBiz.

Regards,
Chatree Srichart

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira