diff options
author | Carl-Anton Ingmarsson <ca.ingmarsson@gmail.com> | 2011-07-07 12:37:49 +0200 |
---|---|---|
committer | Christian Kellner <gicmo@gnome.org> | 2011-08-25 21:19:50 +0200 |
commit | 343116c966fdec5da802821cab3e062040b641d2 (patch) | |
tree | 5e1697c059a3222ddb60a8cda799fda76a5738e2 | |
parent | b573d3260ec0a9c599986c672f94c2cd4ce7bf54 (diff) | |
download | gvfs-343116c966fdec5da802821cab3e062040b641d2.tar.gz |
afp: normalize utf-8 strings from the server
-rw-r--r-- | daemon/gvfsafpconnection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/gvfsafpconnection.c b/daemon/gvfsafpconnection.c index 02cbb471..ef0d325e 100644 --- a/daemon/gvfsafpconnection.c +++ b/daemon/gvfsafpconnection.c @@ -53,7 +53,7 @@ g_vfs_afp_name_ref (GVfsAfpName *afp_name) char * g_vfs_afp_name_get_string (GVfsAfpName *afp_name) { - return g_strndup (afp_name->str, afp_name->len); + return g_utf8_normalize (afp_name->str, afp_name->len, G_NORMALIZE_DEFAULT_COMPOSE); } GVfsAfpName * |