Set encoding to latin-1 to overcome unicode encoding error.