arozos
arozos copied to clipboard
Russian text in filenames becomes ?????.txt (or other file format)
I use this distributive on 16Gb flash drive on Raspberry Pi Zero W https://www.mediafire.com/file/mmjyv77ei9fwab5/arozos_v1.109.7z/file
I mounted a usb stick as it is mensioned in instruction: https://www.youtube.com/watch?v=s8xjY0HwGNM
If there are files or folders whith a russian text in file(foulder)name russian letters are removed whith "?" symbol
Tried solutions:
-
sudo apt install ttf-mscorefonts-installer
-
In file ~/aroz_online/web/SystemAO/file_system/file_explorer.html replace h1, h2, h3, p, span, div,span { font-family: 'TaipeiSansTCBeta-Regular'} by h1, h2, h3, p, span, div,span { font-family: 'TaipeiSansTCBeta-Regular',"Lucida Console", "Courier New", monospace;}
Both didnt help
Host Information(please complete the following information):
- OS: [Debian Buster image from git]
- Go version 1.15.3
- Arozos version 1.109
Client Information(please complete the following information):
- OS: Windows 10 (64 bit), Android 11
- Browser Chrome 88.0.4324.150
Also cannot copy any file whith russian letters to usb stick, but can create them into SD card that is system disk of RPi. I have feeling that there is an issue with reading\writing these files to external storage
Unable to reproduce with the same OS, same vroot file system, vroot uuid, vroot name and development board.
Maybe I will leave this here and see if any other user have the same issue regarding this problem.
Hi @SozinovD.
Can you tried with the latest version and see if this issue still exists? If no, I think I will be closing this issue.
I encountered the same issue. I noticed that it depends on the USB-flash file system. If it is NTFS or extFAT russian symbols appear correct. If USB-flash formatted in FAT32 -
I see "???" instead of russian symbols.
I encountered the same issue. I noticed that it depends on the USB-flash file system. If it is NTFS or extFAT russian symbols appear correct. If USB-flash formatted in FAT32 - I see "???" instead of russian symbols.
Nice to know! I just googled the issue and it seems FAT32 used "OEM codepage" for decoding the filename. It seems there might be issue in your Raspberry Pi OS language configuration that didn't support FAT32 Russian filename. Can you try changing the Raspberry Pi OS system language to Russian and try again with the FAT32 formatted USB flash drive?
I've checked localisation configuration on my Raspberry Pi: language=russian, country=Russia, character set = UTF8. But russian symbols on FAT32 printed incorrect.
@grebenkoff I guess maybe this is a Raspberry Pi OS issue? From here it said
The command "sudo mount -t vfat -o utf8 /dev/sd(x) /my-mountpoint" now shows æ ø å Æ Ø Å correctly A similar entry in /etc/fstab "UUID=(x) /my-mountpoint vfat defaults,utf8,auto,users,rw,nofail 0 0" also works. (Notice "utf8").
Can you confirm this by manually mounting the drive with the above command (notes the -o utf8 flag) and try to see if the problem get fixed? If yes, please let me know to add some new code in the storage pool mounting logic, thanks!
As there are no way to reproduce this, and this seems to be a file system level issue, I will close this issue now.