changed encodeing to latin1