[
https://issues.apache.org/jira/browse/HTTPCLIENT-1512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jochen Kemnade updated HTTPCLIENT-1512:
---------------------------------------
Description: The content from a request can be returned as a String but
that uses the Encoding as specified in the content type. Sometimes (if it is
not given or even wrong) you want to be able to override it. But currently you
cannot create a String with a desired encoding that is backed by the {{byte[]}}
that is already there. (was: The content from a request can be returned as a
String but that uses the Encoding as specified in the content type. Sometimes
(if it is not given or even wrong) you want to be able to override it. But
currently you cannot create a String with a desired encoding that is backed by
the char[] that is already there.)
> Please add org.apache.http.client.fluent.Content.asString(Charset)
> ------------------------------------------------------------------
>
> Key: HTTPCLIENT-1512
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1512
> Project: HttpComponents HttpClient
> Issue Type: Wish
> Components: Fluent HC
> Affects Versions: 4.3.3
> Reporter: Jochen Kemnade
>
> The content from a request can be returned as a String but that uses the
> Encoding as specified in the content type. Sometimes (if it is not given or
> even wrong) you want to be able to override it. But currently you cannot
> create a String with a desired encoding that is backed by the {{byte[]}} that
> is already there.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]