소스 검색

fix UTF8 not found in android

Use UTF-8

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Thomas Guillem 10 년 전
부모
커밋
620027a660
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      src/smb_utils.c

+ 3 - 1
src/smb_utils.c

@@ -35,8 +35,10 @@
 
 static const char *current_encoding()
 {
-#if defined( __APPLE__ ) || !HAVE_LANGINFO_H
+#if defined( __APPLE__ )
     return ("UTF8");
+#elif !HAVE_LANGINFO_H
+    return ("UTF-8");
 #else
     static int locale_set = 0;