Re: [gtkmm] filename_to_utf8 + gettext = problems



> make them shown by a TreeView.  All was working fine util we decide to use 
> gettext.  We just put the lines 
> 
> ALL_LINGUAS="fr"
> AM_GNU_GETTEXT
> 
> in configure.in 
> 
> and 
> 
> setlocale (LC_ALL, "");
> bindtextdomain (PACKAGE, LOCALEDIR);
> textdomain (PACKAGE);
> 

You might need to add the following row after bintextdomain:

  bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");

---
Daniel
http://sumpan.com

> in main()
> 
> Now, all call to filename_utf8 failed with the following error :
> 
> glibmm-CRITICAL **:
> unhandled exception (type Glib::Error) in signal handler:
> domain: g_convert_error
> code  : 1
> what  : invalid byte sequence in conversion input.
> 
> 
> We have tried locale_to_utf8, with the same results.
> 
> And finally, we tried without make any call to filename_to_utf8 or 
> local_to_utf8, and we get these warnings :
> 
> WARNING **: Invalid UTF8 string passed to pango_layout_set_text()
> 
> For now, we are developing on RedHat 8.0, configured for french canadian 
> (fr_CA) 
> 
> Did anyone already have this kind of problem?
> 
> ------
> Alexandria Archives development team
> 
> www.alexandriaarchives.org
> 
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
> 



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