ALLOW_CHARSET_* are bitmasks.