+2001-01-20 Tor Lillqvist <tml@iki.fi>
+
+ * gutils.c (g_get_codeset): (Win32) Even if g_get_codeset() is
+ currently commented out from gutils.h, fix it to return the same
+ CP%d value as g_get_charset().
+
2001-01-19 Kjartan Maraas <kmaraas@gnome.org>
* gconvert.c: Fix typo.
+2001-01-20 Tor Lillqvist <tml@iki.fi>
+
+ * gutils.c (g_get_codeset): (Win32) Even if g_get_codeset() is
+ currently commented out from gutils.h, fix it to return the same
+ CP%d value as g_get_charset().
+
2001-01-19 Kjartan Maraas <kmaraas@gnome.org>
* gconvert.c: Fix typo.
+2001-01-20 Tor Lillqvist <tml@iki.fi>
+
+ * gutils.c (g_get_codeset): (Win32) Even if g_get_codeset() is
+ currently commented out from gutils.h, fix it to return the same
+ CP%d value as g_get_charset().
+
2001-01-19 Kjartan Maraas <kmaraas@gnome.org>
* gconvert.c: Fix typo.
+2001-01-20 Tor Lillqvist <tml@iki.fi>
+
+ * gutils.c (g_get_codeset): (Win32) Even if g_get_codeset() is
+ currently commented out from gutils.h, fix it to return the same
+ CP%d value as g_get_charset().
+
2001-01-19 Kjartan Maraas <kmaraas@gnome.org>
* gconvert.c: Fix typo.
+2001-01-20 Tor Lillqvist <tml@iki.fi>
+
+ * gutils.c (g_get_codeset): (Win32) Even if g_get_codeset() is
+ currently commented out from gutils.h, fix it to return the same
+ CP%d value as g_get_charset().
+
2001-01-19 Kjartan Maraas <kmaraas@gnome.org>
* gconvert.c: Fix typo.
+2001-01-20 Tor Lillqvist <tml@iki.fi>
+
+ * gutils.c (g_get_codeset): (Win32) Even if g_get_codeset() is
+ currently commented out from gutils.h, fix it to return the same
+ CP%d value as g_get_charset().
+
2001-01-19 Kjartan Maraas <kmaraas@gnome.org>
* gconvert.c: Fix typo.
+2001-01-20 Tor Lillqvist <tml@iki.fi>
+
+ * gutils.c (g_get_codeset): (Win32) Even if g_get_codeset() is
+ currently commented out from gutils.h, fix it to return the same
+ CP%d value as g_get_charset().
+
2001-01-19 Kjartan Maraas <kmaraas@gnome.org>
* gconvert.c: Fix typo.
+2001-01-20 Tor Lillqvist <tml@iki.fi>
+
+ * gutils.c (g_get_codeset): (Win32) Even if g_get_codeset() is
+ currently commented out from gutils.h, fix it to return the same
+ CP%d value as g_get_charset().
+
2001-01-19 Kjartan Maraas <kmaraas@gnome.org>
* gconvert.c: Fix typo.
# include <windows.h>
# include <ctype.h>
# include <direct.h>
-# include <io.h>
#endif /* G_OS_WIN32 */
#ifdef HAVE_CODESET
*/
return g_strdup ("ISO-8859-1");
#else
- /* On Win32 we always use UTF-8. At least in GDK. SO should we
- * therefore return that?
- */
- return g_strdup ("UTF-8");
+ return g_strdup_printf ("CP%d", GetACP ());
#endif
#endif
}
# include <windows.h>
# include <ctype.h>
# include <direct.h>
-# include <io.h>
#endif /* G_OS_WIN32 */
#ifdef HAVE_CODESET
*/
return g_strdup ("ISO-8859-1");
#else
- /* On Win32 we always use UTF-8. At least in GDK. SO should we
- * therefore return that?
- */
- return g_strdup ("UTF-8");
+ return g_strdup_printf ("CP%d", GetACP ());
#endif
#endif
}