Zeke-OS / zeke

A POSIX-like OS for ARM processors.
Other
88 stars 9 forks source link

fatfs: Unicode mode requires UTF-8 to UCS-2 conversion #176

Open OlliV opened 4 years ago

OlliV commented 4 years ago

The ff driver as well as real the VFAT LFN are using UCS-2 for storing the long file names. UCS-2 has been long deprecated and there is no point in implementing that in general in Zeke, so fatfs.c needs to convert UTF-8 to UCS-2 on access when the fatfs Unicode support is enabled.