Salome HOME
Unicode support: correct handling of unicode on GUI level
[modules/gui.git] / src / SUIT / SUIT_Tools.cxx
index 5c5595e1343b1a3246a93b84bc9f1826858d25c9..09fc699b628506569959c302e240df197ff35488 100755 (executable)
@@ -41,7 +41,7 @@ void SUIT_Tools::trace( const char* lpszLog, const char* lpszFormat, ... )
   tmpPath += QString( "Salome_trace" );
 
   FILE* pStream;
-  pStream = fopen( lpszLog ? lpszLog : (const char*)tmpPath.toLatin1(), "a" );
+  pStream = fopen( lpszLog ? lpszLog : (const char*)tmpPath.toUtf8(), "a" );
   if ( pStream ) 
   {     
     va_list argptr;