Re: [gtkmm] Using German umlauts in GTKMM buttons, labels etc.



Nabil Sayegh wrote:
> > when providing a button, label or similar with a text containing a German
> > umlaut, e.g. "Löschen", I get a "WARNING: Invalid input string" error message,
> > and the text isn't displayed on the screen.
> Do you use Glib::ustring (unicode) ?

You mean, a constructor expecting a unicode string? No, I just used the
overloaded "=" operator to assign it to the char* I received from gettext. --
However, I already solved the problem according to the manual (see parallel
mail) and just wrote a function, that translates an arbitrary char* into a
UTF-8 string.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]