Fixed encoding error in print statements for lanuages using UTF-8