Eina: Convert eina_test_file.c to UTF-8
authorJean-Philippe Andre <jp.andre@samsung.com>
Tue, 19 Jan 2016 06:19:51 +0000 (15:19 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Tue, 19 Jan 2016 09:18:29 +0000 (18:18 +0900)
It was encoded as ISO-8859 (Latin-1) before.
Maybe this will break these checks on Windows, but all of EFL APIs take
UTF-8 strings, so it doesn't make sense to have ISO-8859 here.

src/tests/eina/eina_test_file.c

index 5012e06..33493f6 100644 (file)
@@ -183,6 +183,8 @@ START_TEST(eina_file_direct_ls_simple)
     * 1) Do not end a directory with a period
     * 2) '*' (asterisk) is a reserved character
     * 3) ':' (colon) is a reserved character
+    *
+    * Note: UTF-8 symbol U+03BC is greek lower mu
     */
 
    const char *good_dirs[] =
@@ -195,7 +197,7 @@ START_TEST(eina_file_direct_ls_simple)
 #ifndef _WIN32
         "~$a@:-*$b!{}"
 #else
-        "~$a@µ-#$b!{}"
+        "~$a@\u03bc-#$b!{}"
 #endif
      };
    const int good_dirs_count = sizeof(good_dirs) / sizeof(const char *);
@@ -257,7 +259,7 @@ START_TEST(eina_file_ls_simple)
 #ifndef _WIN32
         "~$b@:-*$a!{}"
 #else
-        "~$b@µ-#$a!{}"
+        "~$b@\u03bc-#$a!{}"
 #endif
      };
    const int good_dirs_count = sizeof(good_dirs) / sizeof(const char *);