5 Encoding of returned values
Zabbix server expects every returned text value in the UTF8 encoding. This is related to any type of checks: Zabbix agent, SSH, Telnet, etc.
Different monitored systems/devices and checks can return non-ASCII characters in the value. For such cases, almost all possible zabbix keys contain an additional item key parameter - <encoding>. This key parameter is optional but it should be specified if the returned value is not in the UTF8 encoding and it contains non-ASCII characters. Otherwise the result can be unexpected and unpredictable.
A description of behavior with different database backends in such cases follows.
MySQL
אם ערך מכיל תו שאינו ASCII בקידוד שאינו UTF8 - זה
התו והבאים יימחקו כאשר מסד הנתונים יאוחסן
הערך הזה. לא ייכתבו הודעות אזהרה ל-
zabbix_server.log.
רלוונטי לפחות לגרסת MySQL 5.1.61
PostgreSQL
אם ערך מכיל תו שאינו ASCII בקידוד שאינו UTF8 - זה
יוביל לשאילתת SQL שנכשלה (PGRES_FATAL_ERROR:ERROR בתים לא חוקיים
רצף לקידוד) והנתונים לא יאוחסנו. הולם
הודעת אזהרה תיכתב ל-zabbix_server.log.
רלוונטי לפחות לגרסת PostgreSQL 9.1.3