Open Flashwalker opened 2 years ago
Seems to be related to FAT File System Filename Mojibake Issue · WoeUSB/WoeUSB Wiki
The mount
command call here:
seems to be lacking appropriate FAT filesystem mount options to avoid mojibake-ing filenames, consider WoeUSB/WoeUSB's implementation:
https://github.com/WoeUSB/WoeUSB/blob/34b400d99d3c4089f487e1d4f7d71970b2d4429e/sbin/woeusb#L1496
I forgot to mention that i used NTFS formated SD card
I forgot to mention that i used NTFS formated SD card
Well then NTFS uses Unicode filenames thus the problem shouldn't happen.
The problem may be due to the incorrect handling of the mounting of the source filesystem, could you try running the following command to mount the original filesystem:
mkdir test_mountpoint
mount \
--options loop,ro \
--types udf,iso9660 \
_source_iso_image_ \
test_mountpoint
And verify that the filename isn't garbled in the mounted image?
Also, could you try running the Bash version of WoeUSB and verify the problem is still reproduced there?
... And verify that the filename isn't garbled in the mounted image?...
I just tested and file name is ok on mount point http://0x0.st/oT74.png
EDIT: @brlin-tw : Fix Markdown markup
Issue Reproduce Instructions
Expected Behavior
Current Behavior
Info of My Environment
WoeUSB Version
WoeUSB Source
Information about the Operating System
Information about the Source Media
Information about the Target Device