mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
0028040: Foundation Classes, Message_Printer - handle Standard_CString messages as UTF-8
This commit is contained in:
parent
d5cdd12a38
commit
baed683824
@ -13,8 +13,8 @@
|
|||||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||||
// commercial license or contractual agreement.
|
// commercial license or contractual agreement.
|
||||||
|
|
||||||
|
|
||||||
#include <Message_Printer.hxx>
|
#include <Message_Printer.hxx>
|
||||||
|
|
||||||
#include <Standard_Type.hxx>
|
#include <Standard_Type.hxx>
|
||||||
#include <TCollection_AsciiString.hxx>
|
#include <TCollection_AsciiString.hxx>
|
||||||
#include <TCollection_ExtendedString.hxx>
|
#include <TCollection_ExtendedString.hxx>
|
||||||
@ -41,7 +41,7 @@ void Message_Printer::Send (const Standard_CString theString,
|
|||||||
{
|
{
|
||||||
if (theGravity >= myTraceLevel)
|
if (theGravity >= myTraceLevel)
|
||||||
{
|
{
|
||||||
Send (TCollection_ExtendedString (theString), theGravity, theToOutEol);
|
Send (TCollection_ExtendedString (theString, Standard_True), theGravity, theToOutEol);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user