You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there anyway to turn off case sensitivity for filenames? I'm running code with LittleFS on the flash "disk" and FatFS on the SDcard. FatFS is not case sensitive and the differencemakes it confusing for users
The text was updated successfully, but these errors were encountered:
The problem is you don't really "turn off" case sensitivity. Case sensitivity is just comparing bytes, while case insensitivity is a bit more complicated (much more complicated if you want to support unicode).
I realize this is opinion territory, but I think we really need to move away from case insensitivity in filesystems. Case sensitivity is the norm in POSIX/Linux, and I've used Windows enough to know case insensitivity can cause some really weird problems for applications.
That being said, one way you could emulate case insensitivity is by mapping everything to lower case (or upper case), and store the "display name" as a custom attribute. I think this would cover the use case.
Alternatively, consider only providing your application for languages without letter casing, such as Chinese or Korean. This avoids the problem entirely. (joking)
Is there anyway to turn off case sensitivity for filenames? I'm running code with LittleFS on the flash "disk" and FatFS on the SDcard. FatFS is not case sensitive and the differencemakes it confusing for users
The text was updated successfully, but these errors were encountered: