Fix some Utf-8 functions.