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/12/16 22:57:01 UTC

[jira] Created: (HTTPCLIENT-1036) StringBody has incorrect default for characterset

StringBody has incorrect default for characterset
-------------------------------------------------

                 Key: HTTPCLIENT-1036
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1036
             Project: HttpComponents HttpClient
          Issue Type: Bug
          Components: HttpMime
    Affects Versions: 4.1 Beta1
            Reporter: Sebb
            Assignee: Sebb


StringBody defaults to Charset.defaultCharset() if the charset is not provided.

This means that the default depends on the current host.

The default should be US-ASCII (as was the case with StringPart in Commons HttpClient 3.1).

-- 
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-1036) StringBody has incorrect default for characterset

Posted by "Sebb (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HTTPCLIENT-1036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sebb resolved HTTPCLIENT-1036.
------------------------------

    Resolution: Fixed

> StringBody has incorrect default for characterset
> -------------------------------------------------
>
>                 Key: HTTPCLIENT-1036
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1036
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpMime
>    Affects Versions: 4.1 Beta1
>            Reporter: Sebb
>            Assignee: Sebb
>
> StringBody defaults to Charset.defaultCharset() if the charset is not provided.
> This means that the default depends on the current host.
> The default should be US-ASCII (as was the case with StringPart in Commons HttpClient 3.1).

-- 
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