[cairo-bugs] [Bug 103536] Windows filenames should be in UTF-8 encoding

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Nov 13 20:31:08 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=103536

--- Comment #11 from Adrian Johnson <ajohnson at redneon.com> ---
(In reply to Bill Spitzak from comment #10)
> I personally am not thrilled that the function has two different methods of
> returning errors. I would instead just return null if the utf8->utf16
> conversion fails and force errno to whatever it gets if you send invalid
> utf16 as a filename to Windows. Then it is easier to drop-in replacement of
> fopen.

It is an internal function. All internal functions that can generate a cairo
status return the status number so that it will be propagated through to the
cairo object that provides a get status.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo-bugs/attachments/20171113/eddf6c18/attachment.html>


More information about the cairo-bugs mailing list