From d80dc7308fb816cffcbd01df73113fa9e84449b3 Mon Sep 17 00:00:00 2001 From: zhongjin Date: Mon, 28 Nov 2022 10:41:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'src/Sound/voice.cxx'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Sound/voice.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Sound/voice.cxx b/src/Sound/voice.cxx index bf36cee..addf247 100644 --- a/src/Sound/voice.cxx +++ b/src/Sound/voice.cxx @@ -198,6 +198,10 @@ FGFestivalVoice::~FGFestivalVoice() void FGVoiceMgr::FGVoice::pushMessage( const string & m) { + + FGLocale::utf8toLatin1(s); + + _msg.push(m); #if defined(ENABLE_THREADS) _mgr->_thread->wake_up();