Hello, I don't want to report this as a bug because maybe I'm doing something wrong.
I'm having some problems exporting and importing a template with "àèòù" letters (in the notes of a trigger), the exported XML file seems to be ANSI encoded, at least this is what Notepad++ says, and not UTF-8.
When I try to import the xml (even on the same server I exported it from), I got this error:
* XML file contains errors. Fatal Error 9: Input is not proper UTF-8, indicate encoding ! Bytes: 0xE8 0x20 0x64 0x6F [ Line: 47 | Column: 57 ]
(which is the line containing the "è" character)
So I opened the file with Notepad++, changed the encoding to UTF-8 and saved the file, of course I had to manually correct the "àèòù" characters because they were screwed up by the encoding conversion.
After that, the import was successful.
I'm using zabbix 1.8.3 and the mysql database is utf-8 encoded (just checked with: show variables like "character_set_database";
show variables like "collation_database"; on the zabbix database.
I can attach the incriminated XML if it's needed
I'm having some problems exporting and importing a template with "àèòù" letters (in the notes of a trigger), the exported XML file seems to be ANSI encoded, at least this is what Notepad++ says, and not UTF-8.
When I try to import the xml (even on the same server I exported it from), I got this error:
* XML file contains errors. Fatal Error 9: Input is not proper UTF-8, indicate encoding ! Bytes: 0xE8 0x20 0x64 0x6F [ Line: 47 | Column: 57 ]
(which is the line containing the "è" character)
So I opened the file with Notepad++, changed the encoding to UTF-8 and saved the file, of course I had to manually correct the "àèòù" characters because they were screwed up by the encoding conversion.
After that, the import was successful.
I'm using zabbix 1.8.3 and the mysql database is utf-8 encoded (just checked with: show variables like "character_set_database";
show variables like "collation_database"; on the zabbix database.
I can attach the incriminated XML if it's needed