[cups-devel] [UNKN] STR #4534: Fails to print files with german umlauts in locale de_DE

Stéphane Aulery noreply at cups.org
Fri Nov 28 17:12:02 PST 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=623269

Initial report by Klaus Ethgen <Klaus at Ethgen.de> (cups-client 1.4.6) said
that
He can't print a file that have umlauts in the name.

Cups's lp answers:
Fehler ? kein Zugriff auf ?XXXXXXXXXXXXXXXXXXrüXXXXXX.pdf? ? Datei oder
Verzeichnis nicht gefunden

When He unsets all locale settings the file is printable.

I think that this happens cause of a wrong assuming that all is UTF-8.
But the locale de_DE implies ISO-8859-1 if no other charset is mention.

On my system I have no UTF-8. Not in filesystem and not in locale
settings.

However, that is only a assuming, I am not sure if that is really the
problem.


My test of reproduction:

I can reproduce this bug with (cups-client 1.7.5):

$LANG=de_DE
$printf toto > bpbpü.txt
$lp bpbpü.txt
lp: Error - unable to access "bpbpü.txt" - Datei oder Verzeichnis nicht
gefunden

$LANG=de_DE.UTF-8
$lp tbpbpü.txt
request id is DCP8110DN-22 (1 file(s))
$lpq
DCP8110DN is ready and printing
Rank    Owner   Job     File(s)                         Total Size
active  lkppo   22      tbpbpü.txt                     1024 bytes

$LANG=de_DE
$lpq
DCP8110DN is ready and printing
Rank    Owner   Job     File(s)                         Total Size
active  lkppo   22      tbpbp�.txt                     1024 bytes


With the de_DE locale is not possible to print files containing umlauts and
output of lpq is corrupt. I have also reached the same result with local
fr_FR
and accent character such as "é".

Link: https://www.cups.org/str.php?L4534
Version: 1.7.5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJUeR1iAAoJENujp6sI12IjcPwQAJEE0jtLpt8+v2YlWxIvCGQd
2PqayDS3/Dy0o3Z1GWDYx+RGbG0HWZzRWG8kynQz6blx/TT+dXGuf3kk8q89/W3J
Q8FsPbNXkGLUDX7wfseZl0+9xP91DNtYIzV1JXWaVzqafO/HLeEMrxWAuA4vOHzo
4faRL5pbIZUav9m43lMtsmsFG50I27jUJiX0WvbTPpktzxZxFFFmsXLxEMALkU5q
FvVyX9hYndvMSRUxiKmgbxQ3XFYhnYFLtT4wlAi11wo21maULJuVOETbciE2erLT
/tpHf69IVAlXTgp5PznZ0/osHxdYfbvv8MY0BtErvfVv9RX161HWJol8Gei+FtS1
XfNc/eq/XO3w0J4N6tYd3taF/+ngaNF9zLfQYjApZ0X3GVBD0c6U9cjK3DWEMss5
/HnlNcBH6hnex1iM3BPv5mbKcfKkOEcDPFnYYqVgVHVJZhb9ibLnTJ86znTG7FaW
U9TRuhAGHr9sZUM+8BuYfdT6B6CM61LWHLyLLysWnNi1Mx4UD8V6OQL/k/3e96Ar
OyTwiKgIuiuRgne0g+SwR5J0koCkLUK9XP/18gLkN03PO3v3HKFtwnLoct1Fiq4v
u32AjVWU45DTOYphfUrXzM8pInkDLxVvSnaWSoeeCZCvFJJgNc5U8ZeUJFcFXlle
WNmQHb0tQ1O3OwifbRui
=fiBp
-----END PGP SIGNATURE-----




More information about the cups mailing list