Index: soundlib/Load_dbm.cpp =================================================================== --- soundlib/Load_dbm.cpp (revision 16910) +++ soundlib/Load_dbm.cpp (working copy) @@ -356,7 +356,7 @@ m_modFormat.formatName = U_("DigiBooster Pro"); m_modFormat.type = U_("dbm"); m_modFormat.madeWithTracker = MPT_UFORMAT("DigiBooster Pro {}.{}")(mpt::ufmt::hex(fileHeader.trkVerHi), mpt::ufmt::hex(fileHeader.trkVerLo)); - m_modFormat.charset = mpt::Charset::ISO8859_1; + m_modFormat.charset = mpt::Charset::Amiga_no_C1; // Name chunk FileReader nameChunk = chunks.GetChunk(DBMChunk::idNAME); @@ -383,7 +383,7 @@ if(Order.AddSequence() == SEQUENCEINDEX_INVALID) break; } - Order().SetName(mpt::ToUnicode(mpt::Charset::ISO8859_1, name)); + Order().SetName(mpt::ToUnicode(mpt::Charset::Amiga_no_C1, name)); ReadOrderFromFile(Order(), songChunk, numOrders); #else const ORDERINDEX startIndex = Order().GetLength(); Index: soundlib/Load_digi.cpp =================================================================== --- soundlib/Load_digi.cpp (revision 16910) +++ soundlib/Load_digi.cpp (working copy) @@ -129,7 +129,7 @@ m_modFormat.formatName = U_("DigiBooster"); m_modFormat.type = U_("digi"); m_modFormat.madeWithTracker = MPT_UFORMAT("Digi Booster {}.{}")(fileHeader.versionInt >> 4, fileHeader.versionInt & 0x0F); - m_modFormat.charset = mpt::Charset::ISO8859_1; + m_modFormat.charset = mpt::Charset::Amiga_no_C1; ReadOrderFromArray(Order(), fileHeader.orders, fileHeader.lastOrdIndex + 1); Index: soundlib/Load_dtm.cpp =================================================================== --- soundlib/Load_dtm.cpp (revision 16910) +++ soundlib/Load_dtm.cpp (working copy) @@ -598,7 +598,7 @@ m_modFormat.formatName = U_("Digital Tracker"); m_modFormat.type = U_("dtm"); m_modFormat.madeWithTracker = std::move(tracker); - m_modFormat.charset = mpt::Charset::ISO8859_1; + m_modFormat.charset = mpt::Charset::Amiga_no_C1; return true; } Index: soundlib/Load_gt2.cpp =================================================================== --- soundlib/Load_gt2.cpp (revision 16910) +++ soundlib/Load_gt2.cpp (working copy) @@ -540,7 +540,7 @@ m_modFormat.madeWithTracker = U_("Graoumf Tracker"); m_modFormat.formatName = MPT_UFORMAT("Graoumf Tracker v{}")(fileHeader.fileVersion); m_modFormat.type = U_("gtk"); - m_modFormat.charset = mpt::Charset::ISO8859_1; + m_modFormat.charset = mpt::Charset::Amiga_no_C1; m_songName = mpt::String::ReadBuf(mpt::String::spacePadded, fileHeader.songName); size_t msgLength = sizeof(fileHeader.smallComment); @@ -1223,7 +1223,7 @@ m_modFormat.madeWithTracker = mpt::ToUnicode(mpt::Charset::ASCII, mpt::String::ReadBuf(mpt::String::spacePadded, fileHeader.trackerName)); m_modFormat.formatName = (fileHeader.fileVersion <= 5 ? MPT_UFORMAT("Graoumf Tracker v{}") : MPT_UFORMAT("Graoumf Tracker 2 v{}"))(fileHeader.fileVersion); m_modFormat.type = U_("gt2"); - m_modFormat.charset = mpt::Charset::ISO8859_1; + m_modFormat.charset = mpt::Charset::Amiga_no_C1; m_songName = mpt::String::ReadBuf(mpt::String::spacePadded, fileHeader.songName); Index: soundlib/Load_med.cpp =================================================================== --- soundlib/Load_med.cpp (revision 16910) +++ soundlib/Load_med.cpp (working copy) @@ -1146,7 +1146,7 @@ } } if(playSeq.name[0]) - order.SetName(mpt::ToUnicode(mpt::Charset::ISO8859_1, mpt::String::ReadAutoBuf(playSeq.name))); + order.SetName(mpt::ToUnicode(mpt::Charset::Amiga_no_C1, mpt::String::ReadAutoBuf(playSeq.name))); // Play commands (jump / stop) if(playSeq.commandTableOffset > 0 && file.Seek(playSeq.commandTableOffset)) @@ -1194,7 +1194,7 @@ { file.ReadString(m_songName, expData.songNameLength); if(numSongs > 1) - order.SetName(mpt::ToUnicode(mpt::Charset::ISO8859_1, m_songName)); + order.SetName(mpt::ToUnicode(mpt::Charset::Amiga_no_C1, m_songName)); } if(expData.annoLength > 1 && file.Seek(expData.annoText)) { @@ -1434,7 +1434,7 @@ m_modFormat.formatName = MPT_UFORMAT("OctaMED (MMD{})")(version); m_modFormat.type = MPT_USTRING("med"); m_modFormat.madeWithTracker = madeWithTracker; - m_modFormat.charset = mpt::Charset::ISO8859_1; + m_modFormat.charset = mpt::Charset::Amiga_no_C1; return true; } Index: soundlib/Load_mid.cpp =================================================================== --- soundlib/Load_mid.cpp (revision 16910) +++ soundlib/Load_mid.cpp (working copy) @@ -640,7 +640,7 @@ m_modFormat.formatName = U_("Standard MIDI File"); m_modFormat.type = isRIFF ? UL_("rmi") : UL_("mid"); m_modFormat.madeWithTracker = U_("Standard MIDI File"); - m_modFormat.charset = mpt::Charset::ISO8859_1; + m_modFormat.charset = mpt::Charset::Amiga_no_C1; SetMixLevels(MixLevels::v1_17RC3); m_nTempoMode = TempoMode::Modern; Index: soundlib/Load_mo3.cpp =================================================================== --- soundlib/Load_mo3.cpp (revision 16910) +++ soundlib/Load_mo3.cpp (working copy) @@ -1932,7 +1932,7 @@ if(m_dwLastSavedWithVersion) m_modFormat.charset = mpt::Charset::Windows1252; else if(GetType() == MOD_TYPE_MOD) - m_modFormat.charset = mpt::Charset::ISO8859_1; + m_modFormat.charset = mpt::Charset::Amiga_no_C1; else m_modFormat.charset = mpt::Charset::CP437; Index: soundlib/Load_mod.cpp =================================================================== --- soundlib/Load_mod.cpp (revision 16910) +++ soundlib/Load_mod.cpp (working copy) @@ -1309,7 +1309,7 @@ m_modFormat.type = U_("mod"); if(modMagicResult.madeWithTracker) m_modFormat.madeWithTracker = modMagicResult.madeWithTracker; - m_modFormat.charset = mpt::Charset::ISO8859_1; + m_modFormat.charset = mpt::Charset::Amiga_no_C1; return true; } @@ -1811,7 +1811,7 @@ m_modFormat.formatName = U_("Soundtracker"); m_modFormat.type = U_("stk"); m_modFormat.madeWithTracker = madeWithTracker; - m_modFormat.charset = mpt::Charset::ISO8859_1; + m_modFormat.charset = mpt::Charset::Amiga_no_C1; // Reading samples if(loadFlags & loadSampleData) @@ -1900,13 +1900,13 @@ m_modFormat.formatName = U_("MnemoTroN SoundTracker"); m_modFormat.type = U_("st26"); m_modFormat.madeWithTracker = U_("SoundTracker 2.6"); - m_modFormat.charset = mpt::Charset::ISO8859_1; + m_modFormat.charset = mpt::Charset::Amiga_no_C1; } else if(IsMagic(magic, "IT10")) { m_modFormat.formatName = U_("Ice Tracker"); m_modFormat.type = U_("ice"); m_modFormat.madeWithTracker = U_("Ice Tracker 1.0 / 1.1"); - m_modFormat.charset = mpt::Charset::ISO8859_1; + m_modFormat.charset = mpt::Charset::Amiga_no_C1; } else { return false; @@ -2140,7 +2140,7 @@ chunk.Skip(4); if(chunk.ReadMagic("PT") && iffHead.chunksize > 6) { - chunk.ReadString(version, mpt::Charset::ISO8859_1, iffHead.chunksize - 6); + chunk.ReadString(version, mpt::Charset::Amiga_no_C1, iffHead.chunksize - 6); } break; @@ -2196,7 +2196,7 @@ std::string author; commentChunk.ReadString(author, 32); if(author != "UNNAMED AUTHOR") - m_songArtist = mpt::ToUnicode(mpt::Charset::ISO8859_1, author); + m_songArtist = mpt::ToUnicode(mpt::Charset::Amiga_no_C1, author); if(!commentChunk.NoBytesLeft()) { m_songMessage.ReadFixedLineLength(commentChunk, commentChunk.BytesLeft(), 40, 0); Index: soundlib/Load_okt.cpp =================================================================== --- soundlib/Load_okt.cpp (revision 16910) +++ soundlib/Load_okt.cpp (working copy) @@ -340,7 +340,7 @@ m_modFormat.formatName = U_("Oktalyzer"); m_modFormat.type = U_("okt"); - m_modFormat.charset = mpt::Charset::ISO8859_1; + m_modFormat.charset = mpt::Charset::Amiga_no_C1; // Go through IFF chunks... while(file.CanRead(sizeof(OktIffChunk))) Index: soundlib/Load_sfx.cpp =================================================================== --- soundlib/Load_sfx.cpp (revision 16910) +++ soundlib/Load_sfx.cpp (working copy) @@ -469,7 +469,7 @@ m_modFormat.formatName = m_nSamples == 15 ? MPT_UFORMAT("SoundFX 1.{}")(version) : U_("SoundFX 2.0 / MultiMedia Sound"); m_modFormat.type = m_nSamples == 15 ? UL_("sfx") : UL_("sfx2"); - m_modFormat.charset = mpt::Charset::ISO8859_1; + m_modFormat.charset = mpt::Charset::Amiga_no_C1; return true; } Index: soundlib/Load_stp.cpp =================================================================== --- soundlib/Load_stp.cpp (revision 16910) +++ soundlib/Load_stp.cpp (working copy) @@ -258,7 +258,7 @@ m_modFormat.formatName = MPT_UFORMAT("Soundtracker Pro II v{}")(fileHeader.version); m_modFormat.type = U_("stp"); - m_modFormat.charset = mpt::Charset::ISO8859_1; + m_modFormat.charset = mpt::Charset::Amiga_no_C1; m_nChannels = 4; m_nSamples = 0; Index: soundlib/Load_symmod.cpp =================================================================== --- soundlib/Load_symmod.cpp (revision 16910) +++ soundlib/Load_symmod.cpp (working copy) @@ -1231,7 +1231,7 @@ if(symInst.IsEmpty() || symInst.IsVirtual()) continue; - auto filename = mpt::PathString::FromUnicode(mpt::ToUnicode(mpt::Charset::ISO8859_1, symInst.GetName())); + auto filename = mpt::PathString::FromUnicode(mpt::ToUnicode(mpt::Charset::Amiga_no_C1, symInst.GetName())); if(file.GetOptionalFileName()) filename = file.GetOptionalFileName()->GetPath() + filename.GetFullFileName(); @@ -1939,7 +1939,7 @@ m_modFormat.madeWithTracker = U_("Symphonie Pro"); else m_modFormat.madeWithTracker = U_("Symphonie Pro 256"); - m_modFormat.charset = mpt::Charset::ISO8859_1; + m_modFormat.charset = mpt::Charset::Amiga_no_C1; return true; }