You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (JIRA)" <ji...@apache.org> on 2010/05/12 20:22:43 UTC

[jira] Resolved: (HTTPCLIENT-940) impl.conn.Wire uses String.getBytes() which depends on the default charset

     [ 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