[gvfs] afp: normalize utf-8 strings from the server
- From: Christian Kellner <gicmo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] afp: normalize utf-8 strings from the server
- Date: Thu, 25 Aug 2011 19:24:48 +0000 (UTC)
commit 343116c966fdec5da802821cab3e062040b641d2
Author: Carl-Anton Ingmarsson <ca ingmarsson gmail com>
Date: Thu Jul 7 12:37:49 2011 +0200
afp: normalize utf-8 strings from the server
daemon/gvfsafpconnection.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/daemon/gvfsafpconnection.c b/daemon/gvfsafpconnection.c
index 02cbb47..ef0d325 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 *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]