Patrick Ogay - 2003-02-01

I display some results in a GTK window.
I works, but yesterday a remarked something strange.
I debugged the code now: the problem is, if the pOut contains "Broorganisation" gtk_text_insert does nothing!
gtk_text_insert(GTK_TEXT (logText),NULL,NULL,NULL,pOut,-1);

I made a research in google, there seems a problem with umlaut. Somebody proposed to give a font. I also tryed to give the length of pOut.

      logText = GTK_ENTRY(lookup_widget(GTK_WIDGET(but),"logText"));
      font = gdk_font_load ("-adobe-helvetica-medium-r-normal-*-*-120-*-*-p-*-iso8859-1");
      gtk_text_insert(GTK_TEXT (logText),font,NULL,NULL,pOut,strlen(pOut));

Has somebody an idea how to write a line with an umlaut? Strange, that not the umlaut is not displayed. Nothing at all ist displayed!

hope there are some GTK-people here:-)

Patrick