VisualDataWeb / ProtegeVOWL

VOWL Plugin for Protégé
MIT License
25 stars 9 forks source link

Chinese characters are displayed correctly in ProtegeVOWL plugin tab #21

Open yasenstar opened 1 month ago

yasenstar commented 1 month ago

Hello,

I have one simple ontology created in Protege, link is here: test-vowl.

The ontology has below class structure:

image

For easier comparison, I create same classes in English language as well, when showing in VOWL plugin tab, the Chinese characters are not able to display correctly, however, it's fine to view in the webvowl site directly through uploading the local ontology there.

The screen showing in Protege VOWL plug-in is here.

The screen showing in webvowl is here

Screenshots are also uploaded in this post as well.

20240513-test-vowl-protegevowlplugin 20240513-test-vowl-webvowl

Is there any configuration I should do in Protege to make it display such kind of double-byte chararcters correctly? I have one working ontology more more than 3000+ elements now fully in Chinese language, so this feature is really helpful. Thanks.

Regards, Xiaoqi

ddbd commented 1 month ago

Hello yasenstar

Thank you for your detailed error description. I would especially like to thank you for the links and the example screenshots.

I am afraid that you can change this problem with a configuration setting. My guess is that at some point there is a problem with non-ASCI names for the node

I'll try to look at the problem later this week, maybe I'll find a problem in the code.

yasenstar commented 1 month ago

Thanks David for your quick reply, looking forward to get your hints or fix soon.