Adding a query to set names to utf8 and by doing this we do not need encoding and decoding anymore.
This query doesn't need to be here anymore.
Deleting decoding function.
Deleting encoding.