Python: Solve encoding error

PHOTO EMBED

Mon Aug 29 2022 17:02:26 GMT+0000 (Coordinated Universal Time)

Saved by @marcopinero #python

#!/usr/bin/env /usr/bin/python
# -*- coding: utf-8 -*-

import sys

reload(sys)
sys.setdefaultencoding("utf-8")

print "área"
content_copyCOPY

Solve enconding error when using accents or special chars: Example: print "área"