In TIdHTTP, when a response Content-Type is "application/xml" or similar, the
XML's charset is supposed to be used, regardless of any charset specified in
the HTTP header. If no Encoding is specified in the XML prolog, UTF-8 must be
used, per the XML spec. However, DetectXmlCharset() does not return UTF-8
correctly when an Encoding is omitted.
Original issue reported on code.google.com by gambit47 on 19 Jun 2013 at 8:13
Original issue reported on code.google.com by
gambit47
on 19 Jun 2013 at 8:13