Re: [gtk2-perl-xs] Gnome2::About
- From: "muppet" <scott asofyet org>
- To: <gtk-perl-list gnome org>
- Subject: Re: [gtk2-perl-xs] Gnome2::About
- Date: Thu, 24 Apr 2003 11:17:45 -0400 (EDT)
Phanatic said:
hi all!
it's me again, with another bug report (is it okay to do this via this
mailing list, or shall i email the uthor directly, or maybe use sf's
bugtracker?)...
we're in the heavy dev stage at this point, so just bug us via email. and we
honestly do appreciate the bug reports -- keep 'em coming!
(debgtk.pl:1434): Gtk-WARNING **: Invalid input string
(debgtk.pl:1434): Gdk-WARNING **: Error converting from UTF-8 to
'ISO-8859-2': Invalid byte sequence in coversion input
(debgtk.pl:1434): Gdk-WARNING **: Error converting from UTF-8 to
'ISO-8859-2': Invalid byte sequence in coversion input
and some parts of the about window are not shown okay:
- credits button
- credits window (no strings except th 'author' passe through the function)
i don't see this problem, but i think i know what's causing it.
gtk2-perl-xs currently does not do anything special to unicode strings,
because i am a country bumpkin in the 'states and have no experience with or
use for unicode, nor any way to type it.
the code still uses gchar all over the place, so i was planning to make it
just a new typemap for gchar which does the appropriate utf8 conversions, but
like i said, i don't know what those are.
it will be relatively easy --- in gperl.h declare and in GType.xs define
functions newSVgchar and SvGChar which convert between SV and gchar*
appropriately; then create in gperl's typemap a new entry to use those instead
of simply mapping gchar* to T_PV as it currently does.
a complication is the fact that in many places we handle gchars without the
typemap. these need to be replaced with newSVgchar / SvGChar instead of
newSVpv / SvPV_nolen.
any volunteers?
--
muppet <scott asofyet org>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]