forked from enlightenment/efl
Eina: Convert eina_test_file.c to UTF-8
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.
This commit is contained in:
parent
24417ff1a5
commit
7832bab253
|
@ -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 *);
|
||||
|
|
Loading…
Reference in New Issue