Mailinglist Archive: opensuse-bugs (2150 mails)

< Previous Next >
[Bug 873030] New: no or malformed output from lpstat in charset other than utf-8
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 10 Apr 2014 19:41:22 +0000
  • Message-id: <bug-873030-21960@http.bugzilla.novell.com/>

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@xxxxxxxx
ReportedBy: mgoppold@xxxxxx
QAContact: jsmeix@xxxxxxxx
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.

< Previous Next >