'Test ability to read unicode files from images.'

def testUnicodeFile(self):

    path = os.path.join(self.base_path, 'test_img.dd')
    path2 = os.path.join(u'\u05d0\u05d9\u05df\u05d3    \u05df\u05d3    \u05e9    \u05d0\u05e7\u05d3\u05d0', u'\u05d0\u05d9\u05df\u05d3.txt')
    ps2 = rdf_paths.PathSpec(path=path2, pathtype=rdf_paths.PathSpec.PathType.TSK)
    ps = rdf_paths.PathSpec(path=path, pathtype=rdf_paths.PathSpec.PathType.OS)
    ps.Append(ps2)
    fd = vfs.VFSOpen(ps)
    self.TestFileHandling(fd)
