Simple utf8 <-> binary routines for Erlang