Skip to content

Commit 4fe5153

Browse files
Merge pull request #391 from Wuerfel21/W21-ff-unicode
Use UTF8 for LFNs by default and make configurable
2 parents 3adb1d2 + 62c489e commit 4fe5153

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

include/filesys/fatfs/ffconf.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,10 @@
140140
/ ff_memfree() exemplified in ffsystem.c, need to be added to the project. */
141141

142142

143-
#define FF_LFN_UNICODE 0
143+
#ifndef FF_LFN_UNICODE
144+
#define FF_LFN_UNICODE 2
145+
#endif
146+
144147
/* This option switches the character encoding on the API when LFN is enabled.
145148
/
146149
/ 0: ANSI/OEM in current CP (TCHAR = char)

0 commit comments

Comments
 (0)