utf-8で固定し歌詞の文字化けを修正

This commit is contained in:
yuuki
2024-03-21 00:16:44 +09:00
parent dcb7abf993
commit a2e7e197c3
4 changed files with 6 additions and 6 deletions

View File

@@ -2681,7 +2681,7 @@ class SongSelect{
var currentSong = this.songs[selectedSong]
var file = currentSong.chart
var importSongs = new ImportSongs(false, assets.otherFiles)
return file.read(currentSong.type === "tja" ? "sjis" : "").then(data => {
return file.read(currentSong.type === "tja" ? "utf-8" : "").then(data => {
currentSong.chart = new CachedFile(data, file)
return importSongs[currentSong.type === "tja" ? "addTja" : "addOsu"]({
file: currentSong.chart,