[comment]: # translation:outdated

[comment]: # ({new-df5bbb96})
# 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.

[comment]: # ({/new-df5bbb96})

[comment]: # ({b4119079-b4119079})
#### MySQL

Ha egy érték nem ASCII karaktert tartalmaz nem UTF8 kódolásban - ez
karaktert és a következőket el kell dobni, amikor az adatbázis tárolja
ezt az értéket. Nem fognak figyelmeztető üzeneteket írni a
*zabbix\_server.log*.\
Legalább a MySQL 5.1.61-es verziójára vonatkozik

[comment]: # ({/b4119079-b4119079})

[comment]: # ({c305c3e1-c305c3e1})
#### PostgreSQL

Ha egy érték nem ASCII karaktert tartalmaz nem UTF8 kódolásban - ez
sikertelen SQL lekérdezéshez vezet (PGRES\_FATAL\_ERROR:ERROR érvénytelen bájt
kódolási sorrend), és az adatok nem kerülnek tárolásra. Egy megfelelő
figyelmeztető üzenet kerül a *zabbix\_server.log* fájlba.\
Legalább a PostgreSQL 9.1.3-as verziójára vonatkozik

[comment]: # ({/c305c3e1-c305c3e1})
