Fixed UTF-8 encoding compatibility