Use preg_replace() to filter 4-byte UTF-8 characters.