[
https://issues.apache.org/jira/browse/OFBIZ-4337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13063230#comment-13063230
]
Adrian Crum edited comment on OFBIZ-4337 at 7/11/11 9:06 AM:
-------------------------------------------------------------
It would be nice if the encoding was configurable, instead of hard-coding it to
always be UTF-8. Also keep in mind that you can encode the data before using
HttpClient.
was (Author: [email protected]):
It would be nice if the encoding was configurable, instead of hard-coding
it to always be UTF-8.
> 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
> Attachments: HttpClient.patch, HttpClient.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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