When calling put-charset-property, ignore errors.