utf8-to-unicode: add flag for name lookup