rhdunn/cainteoir-engine — Issue #12: make the XML reader use the character encoding API
Author: rhdunn
Created: 2011-11-03 09:42:36+00:00
State: open

The current XML reader does not support character encodings. It should use the character encoding API and switch encoding on:

1. Byte-Order Mark (BOM) for utf-8, utf-16 le/be and utf-32 le/be encodings;

2. The encoding property for the processing instruction.

This should also support a mechanism to switch encodings to allow the html processing to handle content-type meta tags.

It should also be able to take a default encoding parameter to handle content-type encodings in mime headers,