Answer the question
In order to leave comments, you need to log in
FAT12/FAT16/FAT32 encoding created via mkdosfs?
Hello!
The university gave the task - to implement the reading of FAT file systems. I wrote everything according to the specification, checked it on flash drives - everything works no worse than a Swiss watch. But there is one oddity: when I check on the images received by the command mkdosfs -n "FAT image" -F 16
, the whole structure is read as it should, but the file names in Russian are read incorrectly. The FAT specification specifies UTF-16 encoding, I implemented reading with it. On flash drives (different) everything works. On the images - kryakozyabry. The images are perfectly connected / disconnected and no problems are felt through the standard Linux utilities.
Duck how to read names in FAT?
PS My code is on github: github.com/georgeee/FAT-Master
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question