Comment 21 for bug 162196

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

FYI:
In the CUPS 1.3.7 sources scheduler/ipp.c
there is (starting at line 362):
--------------------------------------------------------------------
if (charset &&
    strcasecmp(charset->values[0].string.text, "us-ascii") &&
    strcasecmp(charset->values[0].string.text, "utf-8"))
{
  ...
  send_ipp_status(con, IPP_BAD_REQUEST,
                  _("Unsupported character set \"%s\"!"),
                  charset->values[0].string.text);
}
--------------------------------------------------------------------
I.e. you can either use the exact string "utf-8" or "us-ascii"
for the"attributes-charset" attribute in IPP requests.

Best read the cupsdProcessIPPRequest function
in scheduler/ipp.c completely to find out what exactly
the cups requires, tests, and accepts.