glib2: set UTF-8 encoding to exception message