Added encoding support for codepage437 literals, bugfixes