[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: no text dispalyed to a toolbar button widget
- From: Michèle Garoche <michele garoche easyconnect fr>
- To: Owen Taylor <otaylor redhat com>
- Cc: Günther Rapp <guenther rapp-informatik de>,gtk-app-devel-list gnome org
- Subject: Re: no text dispalyed to a toolbar button widget
- Date: Thu, 31 Jul 2003 04:23:08 +0200
Le jeudi, 31 juil 2003, à 01:13 Europe/Paris, Owen Taylor a écrit :
> On Wed, 2003-07-30 at 17:50, Michèle Garoche wrote:
>> Le mercredi, 30 juil 2003, à 18:55 Europe/Paris, Günther Rapp a écrit
>> :
>>
>>> I have a problem to add text to a toolbar
>>> doing this code it works
>>> ...
>>> all works fine until the (gchar *) title variable has special german
>>> character
>>> like ö ä ü. If such characters are inside the title no text is
>>> displayed
>>> under the button.
>> If you have an editor which can save the source file as UTF-8
>> encodings, you're done. Otherwise you have to encode any character
>> other than pure ASCII with UTF-8 encodings, such as:
>> ö for ö, ä for ä, ü for ü.
>
> Note that the question was about Red Hat 7.2 and GTK+-1.2, so I
> don't think UTF-8 is involved. (I don't have any guesses as
> to what the problem actually is.)
Well, that's true, but I've solved the problem on a Mac by encoding the
source file as Windows Latin Western for gtk+-1.2 and UTF-8 for
gtk+-2.0. I have no idea why I should encode as Windows Latin Western
for gtk+-1.2.
It works for all accented characters I've tried (i.e all from French,
Spanish, and German languages). So, maybe it could work or something
similar on Red Hat.
Michèle
<http://micmacfr.homeunix.org/>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]