factor out unicodification into separate file.
make general purpose UTF8 encoding routine for unicodification
of text.