You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2010/05/11 22:26:43 UTC
[jira] Created: (HTTPCLIENT-940) impl.conn.Wire uses
String.getBytes() which depends on the default charset
impl.conn.Wire uses String.getBytes() which depends on the default charset
--------------------------------------------------------------------------
Key: HTTPCLIENT-940
URL: https://issues.apache.org/jira/browse/HTTPCLIENT-940
Project: HttpComponents HttpClient
Issue Type: Bug
Reporter: Sebb
Priority: Minor
impl.conn.Wire uses String.getBytes() which depends on the default charset
The methods
public void output(final String s)
and
public void input(final String s)
could probably be recoded to avoid this problem, as the output routine uses a StringBuilder.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org
[jira] Resolved: (HTTPCLIENT-940) impl.conn.Wire uses
String.getBytes() which depends on the default charset
Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HTTPCLIENT-940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Oleg Kalnichevski resolved HTTPCLIENT-940.
------------------------------------------
Fix Version/s: 4.1 Alpha2
Resolution: Fixed
I deprecated methods dependent on the default charset.
Oleg
> impl.conn.Wire uses String.getBytes() which depends on the default charset
> --------------------------------------------------------------------------
>
> Key: HTTPCLIENT-940
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-940
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Reporter: Sebb
> Priority: Minor
> Fix For: 4.1 Alpha2
>
>
> impl.conn.Wire uses String.getBytes() which depends on the default charset
> The methods
> public void output(final String s)
> and
> public void input(final String s)
> could probably be recoded to avoid this problem, as the output routine uses a StringBuilder.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org