Fixed eglib compiler warnings about g_string_truncate() and g_iconv()