Unify conversion of gpgconf dirinfo output
In the uiserver socket code we already convert this fromUtf8, which is correct.