GNOME Bugzilla – Bug 620910
Pixbuf save option strings as utf8
Last modified: 2010-12-07 21:29:19 UTC
Created attachment 162981 [details] [review] patch and test case I believe gdk_pixbuf_savev() expects utf8 for option value strings in PNG format tEXt::Foo options. The gdk_pixbuf_save() wrapper could helpfully upgrade inputs the same as done in other places taking utf8. Patch and test case attached. The docs of gdk_pixbuf_save() describe the value strings as utf8, though the function prototype is "char**" instead of "gchar**". PNG allows non-ascii in keys too, though it seems gtk presently demands ascii-only.
I tweaked a few things (mainly: SvGChar) and committed. Thanks!