Sanitize items with invalid characters