Currently cairo_ft_font.c includes _utf8_to_ucs4(); that should be cleaned up, made fontconfig independent, and moved to some common place. I'm putting a cut-and-paste in the win32 backend at the moment.
Actually, the win32 version is UTF-16, not UCS-4 for the destination.
005-02-01 Owen Taylor <otaylor@redhat.com> * src/cairo_unicode.c src/cairoint.h src/Makefile.am: Add _cairo_utf8_to_utf16(), _cairo_utf8_to_ucs4() based on code from GLib.
Move bugs against "cvs" version to "0.9.3" so we can remove the "cvs" version.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.