Problem with GTK_LABEL in GTK2
- From: Johannes Böhler <johannesb surfeu at>
- To: gtk-app-devel-list gnome org
- Subject: Problem with GTK_LABEL in GTK2
- Date: Wed, 02 Oct 2002 21:49:53 +0200
Hallo,
I have problems with LABELS in GTK2. When I use ä, ö, ü in the
text-string, then I get a runtime-error.
the code:
label=gtk_label_new(NULL);
gtk_label_set_markup (GTK_LABEL (label), "<b>Böhler</b>");
gtk_widget_show(label);
gtk_box_pack_start (GTK_BOX (leiste), label, FALSE, FALSE, 0);
the error message:
app (pid:1652): Gtk-WARNING **: Failed to set label from markup
due to error parsing markup: Error on line 3 char 9:
Invalid UTF-8 encoded text
How do I use ä, ö, ü in GTK_LABEL?
Thank you.
Johannes
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]