[
https://issues.apache.org/jira/browse/HTTPCLIENT-180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12730530#action_12730530
]
Antonio Carlos da Graça Mota Durão de Souza commented on HTTPCLIENT-180:
------------------------------------------------------------------------
Charset issue using GetMethod#getStatusText().
But, it's not a issue, once different charset isn't allowed in HTTP HEADER.
Find more info about it:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec2.html#sec2.2
[],
AC
P.S.: Adding this comment so the "next me" don't need to search it ;)
> the method to change the field values of HttpConstants
> ------------------------------------------------------
>
> Key: HTTPCLIENT-180
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-180
> Project: HttpComponents HttpClient
> Issue Type: Improvement
> Components: HttpClient
> Affects Versions: 2.0 Alpha 3
> Environment: Operating System: All
> Platform: All
> Reporter: Noboru Sinohara
> Assignee: HttpComponents Dev
> Priority: Minor
>
> HttpContants has two fields , DEFAULT_CONTENTS_CHARSET and
> HTTP_ELEMENT_CHARSET.
> These values are fixed to ISO-8859-1 and US-ASCII.
> But it's more convinent,if can be altered.
> For example, in japan,many sites use SJIS characters without enconding
> declaration. and such environment, httpclient is hard to use when you must
> handle external script files or style sheets which includes SJIS characters.
> script files are sent withonut encoding declaration.
> As you know some japanese SJIS kanji character has '\' in second byte.
> if you assume that the enconding is ISO-8859-1, such character 'eats' next
> character and make serious syntax errors in script evaluation.
> IE or Mozilla are using technique that at first test contents character
> enconding, and if coud'nt tell which enconding then use preffered enconding
> SJIS,EUC-JP or others.
> But for some applications, it's simply enough to assume default enconding is
> SJIS or EUC-JP or other.
--
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: [email protected]
For additional commands, e-mail: [email protected]