summaryrefslogtreecommitdiffstats
path: root/net/mosh/patches/disable-utf8-check.patch
blob: 88525fb1596bae883e14f6d71b93cf529ae4845c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- a/src/util/locale_utils.cc
+++ b/src/util/locale_utils.cc
@@ -86,10 +86,10 @@ const char *locale_charset( void )
 
 bool is_utf8_locale( void ) {
   /* Verify locale calls for UTF-8 */
-  if ( strcmp( locale_charset(), "UTF-8" ) != 0 &&
-       strcmp( locale_charset(), "utf-8" ) != 0 ) {
-    return 0;
-  }
+  //if ( strcmp( locale_charset(), "UTF-8" ) != 0 &&
+  //    strcmp( locale_charset(), "utf-8" ) != 0 ) {
+  // return 0;
+  //}
   return 1;
 }