add a way to modify the global assumed encoding

Unfortunately some servers still send ascii, macosroman, or similar encodings –
in such cases, TBXML parses null instead of the right strings.