Updated UTF-8 script to match current sanitization