mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-16 14:45:07 +08:00
0025367: IGES and BRep persistence - support unicode file names on Windows
OSD_OpenFile.hxx header is created for using in file open operations with Unicode names. Fix for STEP files reading. Adding test cases for issue 25367 Update test case for issue 25364 Update test cases due to improvements
This commit is contained in:
@@ -122,12 +122,7 @@ 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