rev = rev.substr(6, rev.length() - 8);
std::string s = "PlaQui Client versión " VERSION " (revisión ";
s += rev + ")";
- try {
- lbl_plaqui_version->set_text(Glib::locale_to_utf8(s));
- }
- catch (...) {
- lbl_plaqui_version->set_text("PlaQui Client");
- }
+ lbl_plaqui_version->set_text(Glib::convert(s, "UTF-8", "ISO-8859-1"));
rg->get_widget("anim_frames", anim);
anim->set(anim_frames[current_frame]);
} else {
Glib::ustring s;
try {
+ // El mensaje deberia convertirse a UTF antes de
+ // mandarlo para evitar problemas.
s = "<IN>\n"+Glib::locale_to_utf8(body)+"\n</IN>\n";
}
catch (...) {