Skip to content

Commit

Permalink
Merge pull request #20 from adafruit/fix_unicode_errors
Browse files Browse the repository at this point in the history
🙏
  • Loading branch information
ladyada authored Dec 12, 2023
2 parents 4f43a67 + ad9dd5a commit cc8787f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/UnicodeFilenames/UnicodeFilenames.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cc8787f

Please sign in to comment.