diff options
Diffstat (limited to 'src/doxygen.cpp')
-rw-r--r-- | src/doxygen.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp index e65871b..0924dd7 100644 --- a/src/doxygen.cpp +++ b/src/doxygen.cpp @@ -9261,6 +9261,8 @@ extern void commentScanTest(); void initDoxygen() { + const char *lang = portable_getenv("LC_ALL"); + if (lang) portable_setenv("LANG",lang); setlocale(LC_ALL,""); setlocale(LC_CTYPE,"C"); // to get isspace(0xA0)==0, needed for UTF-8 setlocale(LC_NUMERIC,"C"); |