diff --git a/Texassemble/texassemble.cpp b/Texassemble/texassemble.cpp index 45d1824..26208fd 100644 --- a/Texassemble/texassemble.cpp +++ b/Texassemble/texassemble.cpp @@ -1160,6 +1160,8 @@ int __cdecl wmain(_In_ int argc, _In_z_count_(argc) wchar_t* argv[]) return 1; } + inFile.imbue(std::locale::classic()); + ProcessFileList(inFile, conversion); } break; diff --git a/Texconv/texconv.cpp b/Texconv/texconv.cpp index 8388809..66ec699 100644 --- a/Texconv/texconv.cpp +++ b/Texconv/texconv.cpp @@ -1862,6 +1862,8 @@ int __cdecl wmain(_In_ int argc, _In_z_count_(argc) wchar_t* argv[]) return 1; } + inFile.imbue(std::locale::classic()); + ProcessFileList(inFile, conversion); } break; diff --git a/Texdiag/texdiag.cpp b/Texdiag/texdiag.cpp index 5b13a9d..b1f35fb 100644 --- a/Texdiag/texdiag.cpp +++ b/Texdiag/texdiag.cpp @@ -3434,6 +3434,8 @@ int __cdecl wmain(_In_ int argc, _In_z_count_(argc) wchar_t* argv[]) return 1; } + inFile.imbue(std::locale::classic()); + ProcessFileList(inFile, conversion); } break;