# HG changeset patch # User Loïc Guilloux # Date 2024-01-14 21:49:42 # Node ID 4716b733c2f954d617d7e014a516448bd5ce4667 # Parent 548e1fdb09a4bc2b29cf374f568763e717731e5e Fix: Don't replace stripped characters with '?' in console (#11777) diff --git a/src/console.cpp b/src/console.cpp --- a/src/console.cpp +++ b/src/console.cpp @@ -106,7 +106,7 @@ void IConsolePrint(TextColour colour_cod /* Create a copy of the string, strip it of colours and invalid * characters and (when applicable) assign it to the console buffer */ - std::string str = StrMakeValid(string); + std::string str = StrMakeValid(string, SVS_NONE); if (_network_dedicated) { NetworkAdminConsole("console", str);