pretty: two phase conversion for non utf-8 commits