knowsys / rulewerk

Java library based on the VLog rule engine
Apache License 2.0
32 stars 13 forks source link

load Chinese Knowledge Graph #215

Closed TiAmoBi closed 2 years ago

TiAmoBi commented 2 years ago

When I loaded the Chinese knowledge graph, VLog didn’t seem to recognize it and displayed all Chinese as "?". I would like to ask whether VLog itself does not support Chinese or I have not set the necessary parameters.Thanks!

mkroetzsch commented 2 years ago

In principle, all strings in Rulewerk and VLog have full unicode support. Strings can also be turned into ? on the output terminal or during further processing steps you do in Java. Please provide details on the necessary steps to reproduce your problem.

TiAmoBi commented 2 years ago

Thanks for your reply. I have found the problem. VLog supports full unicode, but the encoding format I use is UTF-8, so it can't be loaded. After I converted it to unicode encoding, VLog can recognize it normally. Thanks again. Best wishes!     ------------------ Original ------------------ From:  "Markus @.>; Date:  Tue, Nov 2, 2021 06:50 PM To: @.>; Cc: @.>; @.>; Subject:  Re: [knowsys/rulewerk] load Chinese Knowledge Graph (Issue #215)

 

In principle, all strings in Rulewerk and VLog have full unicode support. Strings can also be turned into ? on the output terminal or during further processing steps you do in Java. Please provide details on the necessary steps to reproduce your problem.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.