Ensure handling of UTF-8 chars