Fixed bug if unicode could not be converted to ascii