def METHOD_NAME(self):
    """Test saving unicode paths to a playlist file on Windows."""
    tempdir = bytestring_path(mkdtemp())
    the_playlist_file = path.join(tempdir,
                                  b'playlist_write_and_read_windows.m3u8')
    m3ufile = M3UFile(the_playlist_file)
    m3ufile.set_contents([
        bytestring_path(r"x:\This\is\å\path\to_a_file.mp3"),
        bytestring_path(r"x:\This\is\another\path\tö_a_file.mp3")
    ])
    m3ufile.write()
    self.assertTrue(path.exists(the_playlist_file))
    m3ufile_read = M3UFile(the_playlist_file)
    m3ufile_read.load()
    self.assertEqual(
        m3ufile.media_list[0],
        bytestring_path(
            path.join('x:\\', 'This', 'is', 'å', 'path', 'to_a_file.mp3'))
    )
    self.assertEqual(
        m3ufile.media_list[1],
        bytestring_path(r"x:\This\is\another\path\tö_a_file.mp3"),
        bytestring_path(path.join(
            'x:\\', 'This', 'is', 'another', 'path', 'tö_a_file.mp3'))
    )
    rmtree(tempdir)