http://bugs.winehq.org/show_bug.cgi?id=6437
Summary: CUPS Printer-Names are UTF-8, but we handle them as ANSI Product: Wine Version: CVS Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: wine-gdi-(printing) AssignedTo: wine-bugs@winehq.org ReportedBy: wine.dev@web.de
The Printer-Names, that wine receives from CUPS during LoadSystemPrinters() are encoded as UTF-8, but we call AddPrinterA with this Names.
We need to covert the CUPS-Names with MultiByteToWideChar(CP_UTF8, ...) and use AddPrinterW on the result, but that is not possible yet, since wine uses always the same code to print a document to a Printer from CUPS and to a Printer from "/etc/printcap": WideCharToMultiByte(CP_ACP, ...) with "lpr"
This will be fixed, when the Local Printmonitor (in localspl.dll) is able to send the data of the document to the correct (unix)-backend.