Red Hat Bugzilla – Bug 1386751
cups-lpd program did not catch all legacy usage of ISO-8859-1
Last modified: 2018-04-10 09:42:14 EDT
Description of problem: Unable to print from Windows (7) on a Cups-Server with german umlauts in the filename. For example "täst.pdf" Version-Release number of selected component (if applicable): cups-2.2.1 How reproducible: Print a file from Windows on a Cups-Server with umlauts in the filename like "äpfel.pdf" Actual results: Doesn't print! error_log: D [07/Oct/2016:09:41:00 +0200] Create-Job client-error-attributes-or-values-not-supported: Bad job-name value: \"job-name\": Bad name value \"t�st.pdf\" - bad UTF-8 sequence (RFC 2911 section 4.1.2). Expected results: Should print. Additional info: Cups already fixed the problem. https://github.com/apple/cups/commit/5babee86cb84055bce3597ab537abe4a6c6d8dbc Please add to repository.
Hi Moritz, thank you for contacting us, do you have this problem on RHEL7? Because CUPS' version is 1.6.3 on RHEL7. Don't you have this on Fedora? Because CUPS' version, which you mentioned, is in Fedora rawhide. I will apply this patch in rawhide.
Hi Zdenek, thanks for your quick reply and your help. I'am using CentOS 7.2. But I'm sure the problem is the same with CUPS 1.6.3. because CUPS changed to only UTF-8 in version 1.3 (or so).
Ok, I will applicate the patch and give here link to scratch build, if you like to test it.
Yes, thanks a lot. regards
Moritz, I'm sorry, I have to focus on other things right now, so I will create scratch build in two weeks. Is it OK?
Of course.
Created attachment 1296135 [details] Patch from upstream git
Created attachment 1329050 [details] Proposed patch
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:0782