Commit dee21fb9 authored by Carl-Anton Ingmarsson's avatar Carl-Anton Ingmarsson
Browse files

afp: convert pascal strings into utf-8

pascal strings are in the macintosh-roman character set and therefore need to
be converted into utf-8.
parent 5c9ffd7b
......@@ -287,7 +287,10 @@ g_vfs_afp_reply_read_pascal (GVfsAfpReply *reply, char **str)
if (str)
*str = g_strndup (reply->data + reply->pos, strsize);
*str = g_convert (reply->data + reply->pos, strsize,
reply->pos += strsize;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment