From 7ee300311f70b439eb493b1f69b60343e6122860 Mon Sep 17 00:00:00 2001 From: Eilles Date: Wed, 24 Dec 2025 00:34:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=B0=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/nonebot_plugins/trimo_plugin_msctconverter/msctexec.py | 1 + src/nonebot_plugins/trimo_plugin_msctconverter/mspvexec.py | 1 + 2 files changed, 2 insertions(+) diff --git a/src/nonebot_plugins/trimo_plugin_msctconverter/msctexec.py b/src/nonebot_plugins/trimo_plugin_msctconverter/msctexec.py index badfefe..2aba2a7 100644 --- a/src/nonebot_plugins/trimo_plugin_msctconverter/msctexec.py +++ b/src/nonebot_plugins/trimo_plugin_msctconverter/msctexec.py @@ -997,6 +997,7 @@ async def _( old_exe_format=_args["old-execute-format"], min_volume=_args["minimal-volume"], vol_processing_func=volume_curve, + midi_charset="latin1", ) add_memory_to_temporary( identify_cmp, diff --git a/src/nonebot_plugins/trimo_plugin_msctconverter/mspvexec.py b/src/nonebot_plugins/trimo_plugin_msctconverter/mspvexec.py index bd1b0f5..44c2031 100644 --- a/src/nonebot_plugins/trimo_plugin_msctconverter/mspvexec.py +++ b/src/nonebot_plugins/trimo_plugin_msctconverter/mspvexec.py @@ -363,6 +363,7 @@ async def _( pitched_note_table=pitched_notechart, percussion_note_table=percussion_notechart, vol_processing_func=volume_curve, + midi_charset="latin1", ) add_memory_to_temporary( identify_cmp,