mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-16 06:25:04 +08:00
0022484: UNICODE characters support
Initial UNICODE (UFT-8) characters support for OCCT file operations Fix for compilation errors and fix for StepFile (avoid objects in pure c code) Fixes for set unicode symbols to OCAF and visualization
This commit is contained in:
@@ -120,7 +120,12 @@ Standard_Integer StepFile_Read
|
||||
|
||||
checkread->Clear();
|
||||
recfile_modeprint ( (modepr > 0 ? modepr-1 : 0) );
|
||||
#ifdef _WIN32
|
||||
TCollection_ExtendedString aFileNameW(ficnom, Standard_True);
|
||||
FILE* newin = stepread_setinput((char*)aFileNameW.ToExtString());
|
||||
#else
|
||||
FILE* newin = stepread_setinput(ficnom);
|
||||
#endif
|
||||
if (!newin) return -1;
|
||||
#ifdef CHRONOMESURE
|
||||
Standard_Integer n ;
|
||||
|
||||
Reference in New Issue
Block a user