Skip to content

Commit

Permalink
set default locale explicitly for html exporter
Browse files Browse the repository at this point in the history
  • Loading branch information
hhokawa777 committed Feb 16, 2020
1 parent e8d4586 commit 5e9d870
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Exporter/Html/HtmlFileCoverageExporter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ namespace Exporter
std::wifstream ifs{filePath.string()};
if (!ifs)
THROW(L"Cannot open file : " + filePath.wstring());
ifs.imbue(std::locale("", LC_CTYPE));

std::wstring line;
const Plugin::LineCoverage* previousLineCoverage = nullptr;
Expand Down

0 comments on commit 5e9d870

Please sign in to comment.