XML charset tests

With encoding declaration in xml prolog ...

(<?xml version="1.0" encoding="...."?>)

Remark: Apache is forced to return mime-type "text/xml" for all files with suffix ".xml" and ".none".

Content-Type: encoding
utf-8 iso-8859-5 koi8-r windows-1251
text/xml xml / none xml / none xml / none xml / none
text/xml; charset=utf-8 xml / none xml / none xml / none xml / none
text/xml; charset=iso8859-5 xml / none xml / none xml / none xml / none
text/xml; charset=koi8-r xml / none xml / none xml / none xml / none
text/xml; charset=cp1251 xml / none xml / none xml / none xml / none
text/xml; charset=iso8859-1 xml / none xml / none xml / none xml / none

Without encoding declaration in xml prolog ...

(<?xml version="1.0"?>)

Content-Type: file codeset
UTF-8 ISO_8859-5 KOI8-R CP1251
text/xml xml / none xml / none xml / none xml / none
text/xml; charset=utf-8 xml / none xml / none xml / none xml / none
text/xml; charset=iso8859-5 xml / none xml / none xml / none xml / none
text/xml; charset=koi8-r xml / none xml / none xml / none xml / none
text/xml; charset=cp1251 xml / none xml / none xml / none xml / none
text/xml; charset=iso8859-1 xml / none xml / none xml / none xml / none

Remark: Apache is forced to return mime-type "text/xml" for all files with suffix ".xml" and ".none".