Tiny Core Base > TCB Q&A Forum

How to display chinese font in file manager?

(1/5) > >>

lizardidi:
Good day, TCL forum!

I have quite a few ebooks with chinese font file name. I already installed the flysung.tcz (correct me if misspelled)  and able to view chinese font fine in firefox.

However, in file manager those books name cannot display properly. I tried spacefm and Pcmanfm, the file appear as ??????.pdf.

Is there other .tcz i need to install in order to display them correctly?

My system is TCL 15 32bit on a intel atom netbook with 2 gb of ram.

lizardidi:
Sorry, what i meant is ? ? ? ? ?.pdf but it automatically turned into those emoji.

Rich:
Hi lizardidi
According to this:
http://ignorantguru.github.io/spacefm/spacefm-manual-en.html
there are a bunch of places for setting fonts. Open the manual
with your web browser and search for font.

lizardidi:

--- Quote from: Rich on November 01, 2024, 10:51:55 AM ---Hi lizardidi
According to this:
http://ignorantguru.github.io/spacefm/spacefm-manual-en.html
there are a bunch of places for setting fonts. Open the manual
with your web browser and search for font.

--- End quote ---

Thank you Rich!
Tried spacefm font option adjustments, unable to display chinese fonts.
I suspect this is not due to spacefm settings, because Pcmanfm also cannot display the file name correctly.

Maybe this is a system locale thing?

I tried to install getlocale.tcz then i set locale to zh_CN.UTF-8
Then i reboot and in terminal i type lang=zh_CN.UTF-8 ... Unsuccessful T.T



GNUser:

--- Quote from: lizardidi on November 01, 2024, 11:44:54 AM ---Pcmanfm also cannot display the file name correctly.

--- End quote ---

Hi lizardidi. I once had a similar issue, where I had loaded the fonts I needed and my locale was correct, but GUI file managers failed to display diacritical marks. For me what solved the problem was to add this:

--- Code: ---G_FILENAME_ENCODING=@locale
--- End code ---
or this:

--- Code: ---G_FILENAME_ENCODING=UTF-8
--- End code ---
to ~/.profile and reboot.
But before you try that, make sure your locale is correct by typing locale in a terminal.

Navigation

[0] Message Index

[#] Next page

Go to full version