Hi, veryone,
I find problems to insert Chinese charecters into the backend database in GeoNetwork, but GeoNetwork can get those Chinese records correctly from the backend database which are inserted or changed by Mysql database management tools. This problem exists for all pages where information needs to be stroed in the database.
By the way, the encoding of Mysql database is utf8_bin, and my mysql config file may relate to this issue is:
[client]
port=3306
default-character-set=utf8
Here attached an example, please give me some hints or kindly help me fixing this problem. Thank you guys in advance.
Just an example, I want to insert a new category named “中文” by :
after submitted, the tomcat console dispalys as the white part:
But the result page GeoNetwork shows is as following (the first record):
I checked the backend database Mysql by phpMyAdmin, which is the same (the first row with id 11):
But when I updated this record directly in phpMyAdmin as following (the record id=11):
Check the result in phpMyAdmin (first row with id=11):
And Check the result in GeoNetwork, it’s normal as I expect(the last one):
(attachments)