diff --git a/examples/UnicodeFilenames/UnicodeFilenames.ino b/examples/UnicodeFilenames/UnicodeFilenames.ino index a3ba8899..3de0e30b 100644 --- a/examples/UnicodeFilenames/UnicodeFilenames.ino +++ b/examples/UnicodeFilenames/UnicodeFilenames.ino @@ -5,8 +5,8 @@ // USE_UTF8_LONG_NAMES must be non-zero in SdFat/src/SdFatCongfig.h #if USE_UTF8_LONG_NAMES -#define UTF8_FOLDER u8"😀" -const char* names[] = {u8"россиянин", u8"très élégant", u8"狗.txt", nullptr}; +#define UTF8_FOLDER (const char *)"😀" +const char* names[] = {(const char *)"россиянин", (const char *)"très élégant", (const char *)"狗.txt", nullptr}; // Remove files if non-zero. #define REMOVE_UTF8_FILES 1