utf-8 encoding enforcement in error reporting