METAMODEL-3: Improved recognition of encodings in UnicodeWriter.