Fixes some problems with Unicode text after the fact
