| Summary: | HttpClient gets http content in ISO-8859-1 instead UTF-8 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [RT] ECF | Reporter: | Pavel Samolisov <samolisov> | ||||
| Component: | ecf.remoteservices | Assignee: | ecf.core-inbox <ecf.core-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | samolisov, slewis | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Pavel Samolisov
Created attachment 168644 [details]
patch, that fixed this bug
Hi Pavel, I can apply this patch, but would like to ask one question To your knowledge, is there any possibility of regression (breaking something else) by applying this patch. If so, what? Thanks, Scott I think this patch does not breake anything. If ECF REST client is trying to get data from URL with content by ASCII symbols only - it will get correcting content. This one just set correct behavior for not ASCII content. Ok Pavel. Thanks. One thing to point out about this...it is possible for RestClientService subclasses to override createAndPrepareHttpMethod and set the options for the HttpMethod as desired. I've applied patch, tested, and released to HEAD. Thanks for the report and patch, Pavel. Resolving as fixed. Thanks, Scott! I think this is really will help for not english-language users. |