summaryrefslogtreecommitdiffstats
path: root/src/doxygen.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2011-06-29 20:14:58 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2011-06-29 20:14:58 (GMT)
commit9f83539241a64ce7f74d80c118e555e1fc8f8077 (patch)
treee669e210441ef87fa9a366b99d90a0c8d8ae944b /src/doxygen.cpp
parent0bb78ec1f61b95b550b65361081c01a104728341 (diff)
downloadDoxygen-9f83539241a64ce7f74d80c118e555e1fc8f8077.zip
Doxygen-9f83539241a64ce7f74d80c118e555e1fc8f8077.tar.gz
Doxygen-9f83539241a64ce7f74d80c118e555e1fc8f8077.tar.bz2
Release-1.7.4-20110629
Diffstat (limited to 'src/doxygen.cpp')
-rw-r--r--src/doxygen.cpp2
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");