Fixed UTF-8 encoding crash in web module