Unexpected behavior in Unihan dictionary

mihobu

秀才
1. Select the Unihan dictionary
2. Enter a traditional character, such as 馬 or 門
3. Select the character entry

The SimplifiedVariant field shows the character as traditional if traditional character set is selected in the toolbar, and simplified if simplified character set is selected.

When looking up a simplified character, such as 马 or 门, the correct character appears in the TraditionalVariant field no matter what character set is selected.

Anyone else notice this behavior? Was confusing at first, and I thought it was a mistake in the database. It seems to me that the SimplifiedVariant should always show up as simplified no matter what.

白梅克
 

mikelove

皇帝
Staff member
Yep, that's a known bug, though one which might charitably be called a "design flaw" - to save space, when there's a simplified character which always comes up the same way in traditional we store only the simplified version in the database and then convert it automatically when the dictionary is in traditional mode, and we didn't think to add a flag / special code to UniHan to tell PlecoDict to skip that conversion in UniHan entries. Easy thing for us to fix, though.
 
Top