--- a/libpurple/plugins/perl/common/Status.xs Thu Aug 07 01:08:37 2008 +0000 +++ b/libpurple/plugins/perl/common/Status.xs Thu Aug 07 01:41:44 2008 +0000 @@ -86,8 +86,7 @@ t_len = av_len((AV *)SvRV(source_list)); for (i = 0; i < t_len; i++) { - STRLEN t_sl; - t_GL = g_list_append(t_GL, SvPV(*av_fetch((AV *)SvRV(source_list), i, 0), t_sl)); + t_GL = g_list_append(t_GL, SvPVutf8_nolen(*av_fetch((AV *)SvRV(source_list), i, 0))); } purple_presence_add_list(presence, t_GL); g_list_free(t_GL); @@ -389,8 +388,7 @@ t_len = av_len((AV *)SvRV(status_types)); for (i = 0; i < t_len; i++) { - STRLEN t_sl; - t_GL = g_list_append(t_GL, SvPV(*av_fetch((AV *)SvRV(status_types), i, 0), t_sl)); + t_GL = g_list_append(t_GL, SvPVutf8_nolen(*av_fetch((AV *)SvRV(status_types), i, 0))); } RETVAL = (PurpleStatusType *)purple_status_type_find_with_id(t_GL, id); g_list_free(t_GL);