Skip to content

Commit

Permalink
locale
Browse files Browse the repository at this point in the history
  • Loading branch information
GernotMaier committed Feb 7, 2024
1 parent 49aaa40 commit f7663e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions inc/VSQLTextFileReader.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

#include <fstream>
#include <iostream>
#include <locale>
#include <map>
#include <sstream>
#include <string>
Expand Down
1 change: 1 addition & 0 deletions src/VSQLTextFileReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ void VSQLTextFileReader::readSQLFile( string iSQLFile )
{
cout << "Reading SQLText data from " << iSQLFile << endl;

locale::global(std::locale("C.UTF-8"));
ifstream sql_file;
sql_file.open( iSQLFile.c_str() );
if( sql_file.fail() )
Expand Down

0 comments on commit f7663e4

Please sign in to comment.