Use UTF-8 encoding when logging