Changeset 3432 for trunk/jons-gtk2-gui
- Timestamp:
- 04/11/03 02:04:48 (6 years ago)
- Files:
-
- 1 modified
-
trunk/jons-gtk2-gui/src/utilities.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/jons-gtk2-gui/src/utilities.cpp
r3405 r3432 43 43 else { 44 44 const char *cs; 45 if (g_get_charset(&cs) )46 // locale is already utf8 so conversion won't help - we use47 //fallback character set - iso8859-145 if (g_get_charset(&cs) || strcmp(cs, "ANSI_X3.4-1968") == 0) 46 // locale is either already utf8 or ASCII so conversion won't help 47 // - we use fallback character set - iso8859-1 48 48 return g_convert(input_text, len, "UTF-8", "ISO8859-1", &b_in, &b_out, 49 49 NULL);
