From 937d67c313aaebf1f00503fa7810d677220de78f Mon Sep 17 00:00:00 2001 From: Geoff McLane Date: Tue, 8 Jan 2019 14:50:38 +0100 Subject: [PATCH] Is. #770 #780 maybe #790 - remove 'setlocal' from lib! --- src/tidylib.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/tidylib.c b/src/tidylib.c index 73e9f4e..479107a 100644 --- a/src/tidylib.c +++ b/src/tidylib.c @@ -124,7 +124,11 @@ TidyDocImpl* tidyDocCreate( TidyAllocator *allocator ) { if( ! TY_(tidySetLanguage)( getenv( "LANG" ) ) ) { - TY_(tidySetLanguage)( setlocale( LC_ALL, "" ) ); + /*\ + * Is. #770 #783 #780 #790 and maybe others - + * TY_(tidySetLanguage)( setlocale( LC_ALL, "" ) ); + * this seems a 'bad' choice! + \*/ } } }