summaryrefslogtreecommitdiffstats
path: root/testing/mosh/disable-utf8-check.patch
blob: 3d8716aa150bcc6405049eda346a0bbf2aa8627a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- 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;
 }