297c297,305 < my $pathEnc = Slim::Utils::Misc::escape($path); --- > # take care that MusicIP API will understand paths on Windows too > # TODO: someone please check if this breaks Linux or MacOS > my $pathEnc = Slim::Utils::Unicode::utf8on($path); > if ($isWin) { > $pathEnc = URI::Escape::uri_escape($pathEnc); > } else { > $pathEnc = Slim::Utils::Misc::escape($pathEnc); > } > $pathEnc = Slim::Utils::Unicode::utf8encode_locale($pathEnc); 495a504,517 > # MIP returns playlist names as UTF-8 even on windows, so we need to convert > for my $playlist (@playlists) { > > if ($isWin) { > > $playlist = Slim::Utils::Unicode::utf8decode_guess( > $playlist, Slim::Utils::Unicode::encodingFromString($playlist), > ); > } > > # need conversion to the current charset. > $playlist = Slim::Utils::Unicode::utf8encode_locale($playlist); > } >