+ item_path = g_strdup(item->path);
+
+#ifdef G_OS_WIN32
+ if (strchr(item_path, ':') ||
+ strchr(item_path, '|') ||
+ strchr(item_path, '<') ||
+ strchr(item_path, '>') ||
+ strchr(item_path, '*') ||
+ strchr(item_path, '?') ||
+ strchr(item_path, '#') ||
+ strchr(item_path, ':')
+ ) {
+ g_free(item_path);
+ item_path = g_malloc(strlen(item->path)*3 +1);
+ qp_encode_line(item_path, item->path);
+ }
+#endif
+