版权声明:hushui版权所有 https://blog.csdn.net/hushui/article/details/83863578
1. vfat/Linux
Default is ascii, Chinese/utf-8 is not shown OK
[root@localhost ~]# mount |grep sdc
/dev/sdc1 on /mnt/temp type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
Now it is OK!!!
[root@localhost iot]# mount -t vfat -o iocharset=utf8 /dev/sdc1 /mnt/temp/
[root@localhost iot]# cat /proc/version
Linux version 4.13.0+ ([email protected]) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-4) (GCC)) #7 SMP Thu Oct 25 23:11:38 EDT 2018
[root@localhost iot]# mount |grep sdc1
/dev/sdc1 on /mnt/temp type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=utf8,shortname=mixed,errors=remount-ro)
[root@localhost iot]#