[gtkmm] Problem converting utf8 to cp1251 with Glib::convert
- From: Miroslav Yordanov <devcc mironcho homelinux net>
- To: gtkmm-list gnome org
- Subject: [gtkmm] Problem converting utf8 to cp1251 with Glib::convert
- Date: Sun, 4 Apr 2004 09:18:01 +0300
Hello,
I have a problem with this converting from ut8 to cp1251:
return (Glib::convert(str, "cp1251", "utf8")).c_str();
this works fine on my machne (archlinux current, gtkmm 2.2.8), but on slackware with the same version of gtkmm I got this error:
(gbdict:20706): glibmm-CRITICAL **:
unhandled exception (type Glib::Error) in signal handler:
domain: g_convert_error
code : 0
what : Conversion from character set 'utf8' to 'cp1251' is not supported
Probably this is not a gtkmm problem, but if you can direct me to any ideas, I will be very hapy :)
--
Miroslav Yordanov (a.k.a mironcho)
Linux for Bulgarians (http://linux-bg.org)
Some Perl Scripts (http://mironcho.sourceforge.net)
BeboCD (http://bebocd.sourceforge.net)
sGmixer (http://opensource.netuser.cc/sgmixer)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]