summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl-Anton Ingmarsson <ca.ingmarsson@gmail.com>2011-07-07 12:37:49 +0200
committerChristian Kellner <gicmo@gnome.org>2011-08-25 21:19:50 +0200
commit343116c966fdec5da802821cab3e062040b641d2 (patch)
tree5e1697c059a3222ddb60a8cda799fda76a5738e2
parentb573d3260ec0a9c599986c672f94c2cd4ce7bf54 (diff)
downloadgvfs-343116c966fdec5da802821cab3e062040b641d2.tar.gz
afp: normalize utf-8 strings from the server
-rw-r--r--daemon/gvfsafpconnection.c2
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 *