Wietse:
>     /*
>      * Don't frustrate future attempts to make Postfix UTF-8 transparent.
>      */
>     if ((dict->flags & DICT_FLAG_UTF8_ACTIVE) == 0
>         && !valid_utf8_string(name, strlen(name))) {
>         if (msg_verbose)
>             msg_info("%s: %s: Skipping lookup of non-UTF-8 key '%s'",
>                      myname, dict_ldap->parser->name, name);
>         return (0);
>     }
>
> This code has been [in dict_ldap.c and dict_sqlite.c] for four
> years already. Never heard a peep.

John Fawcett:
> is the above check done in the single dict modules redundant?

No.

- The above filter executes only if UTF8 mode is OFF.

- The dict_utf8 filter that you refer to executes only if UTF8 mode
  is ON.

        Wietse

Reply via email to