From: gnome-perl (bugzilla.gnome.o. <bug...@gn...> - 2009-12-17 21:46:25
|
https://bugzilla.gnome.org/show_bug.cgi?id=604861 gnome-perl | Glib | unspecified Summary: Glib->warning etc not wide chars in __WARN__ handler Classification: Bindings Product: gnome-perl Version: unspecified OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: Normal Component: Glib AssignedTo: gtk...@li... ReportedBy: us...@zi... QAContact: gtk...@li... GNOME target: --- GNOME version: --- Created an attachment (id=149943) --> (https://bugzilla.gnome.org/attachment.cgi?id=149943) failing program A Glib->warning message and related stuff reaches a $SIG{__WARN__} handler with a byte string, where I hoped it would be a wide-char string, ie. utf8_on. For example the program foo.pl attached prints "not utf8". I struck this in LANG=de where translations of some of gtk's stupid warning messages trying to make you buy the "hicolor" theme have utf8 chars. I suppose gperl_log_handler doesn't propagate utf8-ness when it calls the plain C warn() func. Is there a utf8 version of that? Is it possible to build a utf8 string and call CORE::warn() or wherever the perl-level one lives? Or is it as easy as turning on the utf8 flag on PL_mess_sv (perhaps temporarily) if you want that on your warning? -- 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. |