-
Notifications
You must be signed in to change notification settings - Fork 251
Kanji with kanji dictionary entries and no term dictionary entries do not show up on the Yomichan search page #2211
Comments
In additional, some kanji do not scan at all even with a valid kanji dictionary entry for it. For example many of the kanji in this file, which are all included in this dictionary. Maybe there is some logic limiting what counts as a kanji? |
By default, when you search on the search page, it does not search for kanji-only definitions. The URL will look something like this: Results will come up if the URL is: This is obviously sub-optimal in terms of actual user workflow, but this is the reason why this happens. For your second comment, are you able to point out a specific kanji that has the issue? I am assuming that when you say "scan", you mean regular scanning outside of the search page. I am able to scan many of the kanji on that file without issue. |
Ah, I didn't know about the search page query. Yes, here are some examples: 𠈓 𠡍 𡉴 that do not scan even with an entry in an installed dictionary. You can see it is rendered with a different font, which makes me suspect it is out of some range. It's listed in JIS level 4 so it's probably Japanese, and other kanji in that level do scan correctly. Every single kanji in that file is included in the dictionary that is based on it I linked above. |
I suspect this has something to do with UTF-16 surrogate pairs. That is, the kanji you posted are technically represented as two "characters" which are rendered as a single glyph, so this may be causing some issues. |
Description
Some kanji might only have an entry in a kanji dictionary and not in any term dictionaries, in which case they may not be shown in the Yomichan search page. For example, 幷 can be hovered normally using Yomichan but it does not show when searched in the search page.
Below, with KANJIDIC installed and no term dictionaries containing the kanji.
Hover:
Search page:
Browser version
Chrome Version 104.0.5112.102 (Official Build) (64-bit)
Yomichan version
Yomichan 22.6.6.0
Exported settings file
The text was updated successfully, but these errors were encountered: