Modify emitter interface
Support UTF-16 encodings