diff --git a/src/osgPlugins/dae/daeReader.cpp b/src/osgPlugins/dae/daeReader.cpp index 839c5fc05..59d650ac4 100644 --- a/src/osgPlugins/dae/daeReader.cpp +++ b/src/osgPlugins/dae/daeReader.cpp @@ -292,6 +292,8 @@ bool daeReader::convert( std::istream& fin ) // set fileURI to null device const std::string fileURI("from std::istream"); + fin.imbue(std::locale::classic()); + // get the size of the file and rewind fin.seekg(0, std::ios::end); unsigned long length = static_cast(fin.tellg());