Merge pull request #20 from adafruit/fix_unicode_errors

🙏
This commit is contained in:
Limor "Ladyada" Fried 2023-12-11 19:33:19 -05:00 committed by GitHub
commit cc8787f4bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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