Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Copyright update 2022
[modules/smesh.git]
/
src
/
DriverUNV
/
DriverUNV_R_SMDS_Mesh.cxx
diff --git
a/src/DriverUNV/DriverUNV_R_SMDS_Mesh.cxx
b/src/DriverUNV/DriverUNV_R_SMDS_Mesh.cxx
index 6ebc03eeb46e1b9657f9615c36601a2aa1612923..4b270fd00c304e4156bf5f67631fd75821645cd7 100644
(file)
--- a/
src/DriverUNV/DriverUNV_R_SMDS_Mesh.cxx
+++ b/
src/DriverUNV/DriverUNV_R_SMDS_Mesh.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-20
16
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-20
22
CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-102,7
+102,12
@@
Driver_Mesh::Status DriverUNV_R_SMDS_Mesh::Perform()
{
Kernel_Utils::Localizer loc;
Status aResult = DRS_OK;
{
Kernel_Utils::Localizer loc;
Status aResult = DRS_OK;
+#if defined(WIN32) && defined(UNICODE)
+ std::wstring aFile = Kernel_Utils::utf8_decode_s(myFile);
+ std::ifstream in_stream(aFile.c_str());
+#else
std::ifstream in_stream(myFile.c_str());
std::ifstream in_stream(myFile.c_str());
+#endif
try
{
{
try
{
{