rg35xx-cfw / Koriki

SimpleMenu frontend for RG35xx
165 stars 4 forks source link

Please add unicode support #11

Open sanikoyes opened 1 year ago

sanikoyes commented 1 year ago

What happened?

The system does not support unicode file names (Chinese/Japanese, etc.), such as:

测试文件.txt

After the file name is listed, the display becomes ????.txt The file name obtained by using os.walk of the script (python) is also ????.txt

sanikoyes commented 1 year ago

I was refered to the linux kernel configuration of jelos: https://github.com/JustEnoughLinuxOS/distribution/blob/main/projects/Rockchip/devices/RK3566/linux/linux.aarch64.conf

Adding/modifying the following lines to the kernel configuration and recompiling the kernel may solve this problem, but I can't verify it here. I tried to compile the kernel myself, but the black screen/cannot run after booting. I don't know which step is wrong. .

CONFIG_FAT_DEFAULT_CODEPAGE=936
CONFIG_FAT_DEFAULT_IOCHARSET="utf8"
CONFIG_FAT_DEFAULT_UTF8=y