Comment 6 for bug 213938

Revision history for this message
Johannes Meixner (jsmeix) wrote :

Many thanks for the fixed patch.

I think for now I can ignore the encoding problem
because in openSUSE we use a UTF-8 encoding
by default for the users.

Since CUPS 1.3.x the cupsd accepts only requests
which are UTF-8 encoded (this includes 7-bit ASCII).
Therefore the communication with the cupsd fails
for HPLIP if HPLIP programs run under a non-UTF-8 locale
or under a non-POSIX locale.

As far as I see:
To make HPLIP work with CUPS 1.3.x independent
of the locale setting of the user who runs HPLIP programs,
you must ensure in your HPLIP programs that the
communication with the cupsd happens in UTF-8 encoding
and use 7-bit ASCII as fallback - but have possibly
non-7-bit-ASCII characters in mind, e.g. users may like
to have German umlauts 'ÄÖÜäöü' in queue names ;-)

To be on the safe side, I recommend to ask on the
CUPS mailing list <email address hidden> what the actually
correct way is to communicate with a CUPS 1.3.x cupsd.