I want to use "Importação de petróleo" in my program.
How can I do that because all encodings give me errors as cannot encode.
Help on class unicode in module builtin:
class unicode(basestring)
 |  unicode(string [, encoding[, errors]]) -> object
 |
 |  Create a new Unicode object from the given encoded string.
 |  encoding defaults to the current default string encoding.
 |  errors can be 'strict', 'replace' or 'ignore' and defaults to 'strict'.
 |  
try using "utf8" as the encoding for unicode()
How to encode 'Importação de petróleo' string in python?