Implement emitting utf8 charset when seen in output
Merge pull request #717 from mgreter/feature/utf8-charset

Implement emitting utf8 charset when seen in output