[Scummvm-git-logs] scummvm master -> e4595172d50b8edec44bf59a4b2e7c5bdb92888f

bluegr noreply at scummvm.org
Mon Sep 16 19:14:58 UTC 2024


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
e4595172d5 SCUMM: Set the correct encoding for Simplified Chinese


Commit: e4595172d50b8edec44bf59a4b2e7c5bdb92888f
    https://github.com/scummvm/scummvm/commit/e4595172d50b8edec44bf59a4b2e7c5bdb92888f
Author: Vladimir Serbinenko (phcoder at gmail.com)
Date: 2024-09-16T22:14:56+03:00

Commit Message:
SCUMM: Set the correct encoding for Simplified Chinese

Big5 aka Windows950 is only for Traditional Chinese. Simplified one
uses EUC-CN/Windows936

Signed-off-by: Vladimir Serbinenko <phcoder at gmail.com>

Changed paths:
    engines/scumm/string.cpp


diff --git a/engines/scumm/string.cpp b/engines/scumm/string.cpp
index cffb5619da2..7ad72adb897 100644
--- a/engines/scumm/string.cpp
+++ b/engines/scumm/string.cpp
@@ -2329,8 +2329,9 @@ Common::CodePage ScummEngine::getDialogCodePage() const {
 		return Common::kWindows949;
 	case Common::JA_JPN:
 		return Common::kWindows932;
-	case Common::ZH_TWN:
 	case Common::ZH_CHN:
+		return Common::kWindows936;
+	case Common::ZH_TWN:
 		return Common::kWindows950;
 	case Common::RU_RUS:
 		return Common::kDos866;




More information about the Scummvm-git-logs mailing list