725
725
fenc = sys.getfilesystemencoding()
727
# So we should encode, decode, then replace(u'?', u'_')
726
728
relpath_tmp = relpath.encode(fenc, 'replace').decode(fenc, 'replace')
727
729
relpath_tmp = relpath_tmp.replace(u'?', u'_')
728
730
full_path = osutils.pathjoin(self._root, prefix, relpath_tmp)