[pygtk] Translating tool tip with non ascii characters.
Gerald Britton
gerald.britton at gmail.com
Mon May 2 21:03:05 WST 2011
On Mon, May 2, 2011 at 4:46 AM, Giuseppe Penone <giuspen at gmail.com> wrote:
> it's full of glade files including non ascii characters out there (mainly
> the translators names filled in the about dialog) and it works, the encoding
> is utf-8.
Thanks! Though I still need to know:
" Is a tooltip string, generated from glade file, is of (Python) type
string or unicode?"
>
> On Mon, May 2, 2011 at 2:46 AM, Gerald Britton <gerald.britton at gmail.com>
> wrote:
>>
>> I have a question:
>>
>> Does anyone know if a tooltip string, generated from glade file, is of
>> type string or unicode.
>>
>> I think that the string must be unicode when calling gettext and the
>> string contains non ascii
>> characters.
>>
>> At least it is so for tooltips generated in python code.
>>
>>
>> --
>> Gerald Britton
>> _______________________________________________
>> pygtk mailing list pygtk at daa.com.au
>> http://www.daa.com.au/mailman/listinfo/pygtk
>> Read the PyGTK FAQ: http://faq.pygtk.org/
>
>
--
Gerald Britton
More information about the pygtk
mailing list