encode('iso-8859-1') : Encode : String PYTHON TUTORIALS


PYTHON TUTORIALS » String » Encode »

 

encode('iso-8859-1')


locStr = "El "
uniStr = u"Niu00F1o"

newStr = locStr+uniStr
print newStr.encode('iso-8859-1')



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo String
» Encode