From baed6838240054606f7b21be1a70af9152e3d5ca Mon Sep 17 00:00:00 2001 From: kgv Date: Wed, 2 Nov 2016 12:56:30 +0300 Subject: [PATCH] 0028040: Foundation Classes, Message_Printer - handle Standard_CString messages as UTF-8 --- src/Message/Message_Printer.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Message/Message_Printer.cxx b/src/Message/Message_Printer.cxx index 7b7a29143f..e2c2cc4a59 100644 --- a/src/Message/Message_Printer.cxx +++ b/src/Message/Message_Printer.cxx @@ -13,8 +13,8 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. - #include + #include #include #include @@ -41,7 +41,7 @@ void Message_Printer::Send (const Standard_CString theString, { if (theGravity >= myTraceLevel) { - Send (TCollection_ExtendedString (theString), theGravity, theToOutEol); + Send (TCollection_ExtendedString (theString, Standard_True), theGravity, theToOutEol); } }