hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: Charsets in org.apache.http.entity.ContentType
Date Mon, 21 Dec 2015 12:27:53 GMT
On Mon, 2015-12-21 at 03:30 -0800, Gary Gregory wrote:
> Hi All,
> 
> In org.apache.http.entity.ContentType, why is the charset for many
> constants ISO_8859_1?
> 

I believe this has to do with the MIME protocol defining ISO_8859_1 as
the default charset for some content types at some point. This may well
have changed with the latest protocol revisions, but there is no way of
knowing for sure until some one takes up the task of going through all
content types defined in the class and finding out the latest relevant
RFCs.

Oleg   

> As opposed to UTF-8 or nothing.
> 
> Thank you,
> Gary
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message