[Bug 6437] New: CUPS Printer-Names are UTF-8,
but we handle them as ANSI
Wine Bugs
wine-bugs at winehq.org
Fri Oct 13 12:57:02 CDT 2006
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 at winehq.org
ReportedBy: wine.dev at 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.
--
By by ... Detlef
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the wine-bugs
mailing list