Introduce the idea of a filename encoding, which is *literally* the
[platform/upstream/glib.git] / glib / gutils.h
index 03eaa17..e3f1418 100644 (file)
@@ -115,6 +115,10 @@ G_BEGIN_DECLS
 
 /* Retrive static string info
  */
+#ifdef G_OS_WIN32
+#define g_get_home_dir g_get_home_dir_utf8
+#define g_get_tmp_dir g_get_tmp_dir_utf8
+#endif
 G_CONST_RETURN gchar* g_get_user_name        (void);
 G_CONST_RETURN gchar* g_get_real_name        (void);
 G_CONST_RETURN gchar* g_get_home_dir         (void);
@@ -171,6 +175,10 @@ G_CONST_RETURN gchar* g_basename           (const gchar *file_name);
 
 #endif /* G_DISABLE_DEPRECATED */
 
+#ifdef G_OS_WIN32
+#define g_get_current_dir g_get_current_dir_utf8
+#endif
+
 /* The returned strings are newly allocated with g_malloc() */
 gchar*                g_get_current_dir    (void);
 gchar*                g_path_get_basename  (const gchar *file_name);