You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by Michael Osipov <mi...@apache.org> on 2019/12/25 14:56:02 UTC

Re: Review of HttpCore before 5.0 GA

Am 2019-11-04 um 17:27 schrieb Oleg Kalnichevski:
> On Sun, 2019-11-03 at 22:50 +0100, Michael Osipov wrote:
>> Hi folks,
>>
>> I have made a shallow, non-exhaustive (maybe wrong) review of the
>> codebase before 5.0 GA to have the chance to improve things which
>> will
>> be frozen afterwards:
...
>> over and over again
>> * org.apache.hc.core5.http.ContentType:
>> ** I am confused why almost all 'application/*+xml' use ISO-8859-1
>> although default encoding of XML is UTF-8
> 
> This one is important. Do you know an RFC that supports that?

The refence is here: 
https://www.w3.org/TR/2008/REC-xml-20081126/#sec-guessing-no-ext-info

 > Without a Byte Order Mark: Other, UTF-8...



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


Re: Review of HttpCore before 5.0 GA

Posted by Oleg Kalnichevski <ol...@apache.org>.
On Wed, 2019-12-25 at 15:56 +0100, Michael Osipov wrote:
> Am 2019-11-04 um 17:27 schrieb Oleg Kalnichevski:
> > On Sun, 2019-11-03 at 22:50 +0100, Michael Osipov wrote:
> > > Hi folks,
> > > 
> > > I have made a shallow, non-exhaustive (maybe wrong) review of the
> > > codebase before 5.0 GA to have the chance to improve things which
> > > will
> > > be frozen afterwards:
> 
> ...
> > > over and over again
> > > * org.apache.hc.core5.http.ContentType:
> > > ** I am confused why almost all 'application/*+xml' use ISO-8859-
> > > 1
> > > although default encoding of XML is UTF-8
> > 
> > This one is important. Do you know an RFC that supports that?
> 
> The refence is here: 
> https://www.w3.org/TR/2008/REC-xml-20081126/#sec-guessing-no-ext-info
> 
>  > Without a Byte Order Mark: Other, UTF-8...
> 

I am fine with changing the default charset of 'application/*+xml' to
UTF-8.

Oleg



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