added unicode conversion for log messages that needed it