diff --git a/src/posix/cocoa/st_console.mm b/src/posix/cocoa/st_console.mm index 9618e7222..b59502398 100644 --- a/src/posix/cocoa/st_console.mm +++ b/src/posix/cocoa/st_console.mm @@ -324,7 +324,8 @@ void FConsoleWindow::AddText(const char* message) void FConsoleWindow::AddText(const PalEntry& color, const char* const message) { - NSString* const text = [NSString stringWithUTF8String:message]; + NSString* const text = [NSString stringWithCString:message + encoding:NSISOLatin1StringEncoding]; NSDictionary* const attributes = [NSDictionary dictionaryWithObjectsAndKeys: [NSFont systemFontOfSize:14.0f], NSFontAttributeName,