[Bug 873030] New: no or malformed output from lpstat in charset other than utf-8
https://bugzilla.novell.com/show_bug.cgi?id=873030 https://bugzilla.novell.com/show_bug.cgi?id=873030#c0 Summary: no or malformed output from lpstat in charset other than utf-8 Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: Other OS/Version: openSUSE 13.1 Status: NEW Severity: Major Priority: P5 - None Component: Printing AssignedTo: jsmeix@suse.com ReportedBy: mgoppold@web.de QAContact: jsmeix@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.117 Safari/537.36 SUSE/33.0.1750.117 last month (March 2014) there was no or malformed output from lpstat in charset other than utf-8: prod:~ # lpadmin -p test0102 -v file:///tmp/test0102 -E prod:~ # cupsdisable test0102 prod:~ # lp -d test0102 /etc/hosts request id is test0102-1046762 (1 file(s)) prod:~ # lpstat -o test0102 test0102-1046762 root 2048 Mon Mar 10 07:50:30 2014 prod:~ # LC_ALL=de_DE@euro lpstat -o test0102 <<NO OUTPUT!>> _cupsSetLocale set iso-8859-15 (cups lang code 14) and strftime formats the output in this encoding but _cupsLangPrintf call cupsUTF8ToCharset and assumes UTF8 input for iconv and this failed Reproducible: Always Steps to Reproduce: 1. 2. 3. see also https://www.cups.org/str.php?L4388 and the comments for upstream fixes see also https://build.opensuse.org/package/show/home:mgoppold/cups for fixed cups -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=873030 https://bugzilla.novell.com/show_bug.cgi?id=873030#c1 --- Comment #1 from Mario Goppold <mgoppold@web.de> 2014-04-10 19:43:06 UTC --- Created an attachment (id=585908) --> (http://bugzilla.novell.com/attachment.cgi?id=585908) patch to fix it -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=873030 https://bugzilla.novell.com/show_bug.cgi?id=873030#c2 Johannes Meixner <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |RESOLVED Blocker|--- |No Platform|Other |All Found By|--- |Community User Resolution| |FIXED Summary|no or malformed output from |CUPS STR#4388: no or |lpstat in charset other |malformed output from |than utf-8 |lpstat in charset other | |than utf-8 Severity|Major |Normal --- Comment #2 from Johannes Meixner <jsmeix@suse.com> 2014-04-11 10:18:43 CEST --- Many thanks for your descriptive and complete issue report and in particular many thanks for your direct contribution to CUPS upstream. I submitted the fixed package to its OBS development project "Printing" via OBS submitrequest 229700 and forwarded it to openSUSE:Factory as OBS submitrequest 229702. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=873030 https://bugzilla.novell.com/show_bug.cgi?id=873030#c3 --- Comment #3 from Bernhard Wiedemann <bwiedemann@suse.com> 2014-04-11 11:01:57 CEST --- This is an autogenerated message for OBS integration: This bug (873030) was mentioned in https://build.opensuse.org/request/show/229702 Factory / cups -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com