[cairo] [PATCH] script: More compatible with C89 and VC++.

Bill Spitzak spitzak at gmail.com
Sat Jun 26 18:16:29 PDT 2010


On 06/26/2010 04:40 PM, Tor Lillqvist wrote:

> Yeah but cairo itself surely doesn't maipulate filenames and display
> them to the user? It's higher level code that calls cairo that needs
> to make sure text passed to it is in UTF-8.

What I meant was that I think it is the filesystem API that is 
responsible for making sure it is UTF-8.

It does appear, because Microsoft refuses to do it, that the only 
solution is to wrap all the UTF-16 API's in a POSIX emulation that does 
UTF-8, translating it as necessary to UTF-16. I am not suprised that 
they purposely break the portable functions but it is still very very 
annoying. In any case such fixes are probably not Cairo's 
responsibility, but I don't think Cairo should be discouraging it by 
trying to work around it in a few cases.



More information about the cairo mailing list