From: gnome-perl (bugzilla.gnome.o. <bug...@gn...> - 2010-06-07 22:09:46
|
https://bugzilla.gnome.org/show_bug.cgi?id=620910 gnome-perl | Gtk2 | unspecified Summary: Pixbuf save option strings as utf8 Classification: Bindings Product: gnome-perl Version: unspecified OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: Normal Component: Gtk2 AssignedTo: gtk...@li... ReportedBy: us...@zi... QAContact: gtk...@li... GNOME target: --- GNOME version: --- Created an attachment (id=162981) View: https://bugzilla.gnome.org/attachment.cgi?id=162981 Review: https://bugzilla.gnome.org/review?bug=620910&attachment=162981 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. -- Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. |