From: kgv Date: Wed, 2 Nov 2016 09:56:30 +0000 (+0300) Subject: 0028040: Foundation Classes, Message_Printer - handle Standard_CString messages as... X-Git-Tag: V7_1_0_beta~3 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=baed6838240054606f7b21be1a70af9152e3d5ca;p=occt.git 0028040: Foundation Classes, Message_Printer - handle Standard_CString messages as UTF-8 --- 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); } }