Bug 2960 - Spooler command output stored in "xp-spooler-command-results" job attr has the wrong encoding (local encoding instead of COMPOUND_TEXT)
Summary: Spooler command output stored in "xp-spooler-command-results" job attr has th...
Alias: None
Product: xprint
Classification: Unclassified
Component: Server: Spooler support: Other (show other bugs)
Version: unspecified
Hardware: All All
: high normal
Assignee: Roland Mainz
QA Contact:
Depends on: 790
  Show dependency treegraph
Reported: 2005-04-10 18:36 UTC by Roland Mainz
Modified: 2011-09-13 15:50 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:


Description Roland Mainz 2005-04-10 18:36:51 UTC
[Followup-up to bug 790 ("RFE: Xprt should store the output of the spooler
command in the "xp-spooler-command-results" resource")]
The spooler command output (stdout/stderr) stored in
"xp-spooler-command-results" job attr has the wrong encoding - currently it's
the local encoding used by the Xprint server and not COMPOUND_TEXT as defined in
the Xprint spec.

Currently the code looks this like:
-- snip --
+   /* XXX: This should be converted from local multibyte encoding to
+    * Compound Text encoding first */
+   XpPutOneAttribute(pContext, XPJobAttr, "xp-spooler-command-results", buf);
-- snip --
|buf| AFAIK needs to be converted to COMPOUND_TEXT first
Comment 1 Roland Mainz 2005-04-10 18:49:15 UTC
Alan/Jay: Is there any localencoding-->COMPOUND_TEXT converter in the Xserver
code yet ?
Comment 2 Corbin Simpson 2011-09-13 15:50:25 UTC
Closing WONTFIX because nobody cares about Xprint. Reopen if you plan to address this bug.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.