- value = gom_set_string(&head->charset.name, encoding);
- if (value == NULL || strcmp(value, encoding))
+ /* force warning for anything except UNICODE */
+ if (!strcmp(encoding, "UNICODE")) {
+ value = gom_set_string(&head->charset.name, encoding);
+ if (value == NULL || strcmp(value, encoding))
+ return 1;
+ }
+ value = gom_set_string(&head->note, long_note);
+ if (value == NULL || strcmp(value, long_note))