Japanese is not well processed when displaying and searching for file names. This is a macos-specific NFC / NFD issue.
for example
NFC(Normalization Form Canonical Compression)
ใใใใใ
NFD(Normalization Form Canonical Decompression)
ใใใใใใใใใใ
However, in ranger, it is displayed as "ใใใใใ".
import unicodedata
s = u"ใใใใใ"
print unicodedata.normalize("NFD", s)
=>ใใใใใ
Could you expand a bit more on what exactly ranger's doing wrong? Is it the little circles/squares(?) in the top right corners of the kanji that are missing? What's NFC/NFD and when should they be used?
Thank you very much.
This problem occurs when the macOS file system is HFS+ or for files created with HFS+.
There is no problem with files created on the APFS file system.
Please see here about NFC / NFD
https://stackoverflow.com/questions/16467479/normalizing-unicode
example:(I do not understand well about Python)
python2.7.16
import unicodedata
a="ใ"
len(a)
3
python3.7.3
import unicodedata
a="ใ"
len(a)
1
unicodedata.name(a)
'HIRAGANA LETTER GA'

Oh, ok. I think I understand this better now. So there's multiple ways to represent the same character with a different unicode representation. And when you enter some Japanese text to search for a file for example you just happen to enter the text with a different representation than the file name on disk and you can't find that file even though it looks like what you entered?
Or did I misunderstand and is ranger actually displaying the wrong characters?
First of all, Thank you. and sorry for my poor english.
I think your understanding is correct.
An example of filtering using the โzfโ command is shown for reference.
(1)

(2)

(3)

(4)This is screen shor of macOS's Finder

Most helpful comment
First of all, Thank you. and sorry for my poor english.




I think your understanding is correct.
An example of filtering using the โzfโ command is shown for reference.
(1)
(2)
(3)
(4)This is screen shor of macOS's Finder