lpr - file with cyrillic symbols in the name is not printed

oleg oleg1 at korop.gas.cn.ua
Tue Oct 30 05:11:37 PDT 2007


Fedora 7, cups-1.2.12, system locale - ru_UA.KOI8-U

at performance of a command:
lpr cyrillic_file_name
(cyrillic_file_name="test-тест")
nothing is printed...

in a conclusion "strace lpr ..." received:

execve("/usr/bin/lpr", ["lpr", "test-\324\305\323\324"], [/* 35 vars */]) = 0

...

access("test-я┌п╣я│я┌", R_OK)           = -1 ENOENT (No such file or directory)

...

In line "access..." the name of a file is already recoded in utf, but such file in file system is not present (is only with an initial name in the coding koi8-u).

Why cups will recode a name of a file?




More information about the cups-devel mailing list