Set UTF-8 encoding for logging