updates to FormatName for utf-8 compat