I am using sublime for editing my scripts and using Python IDLE to run it. I have to use string that accept portuguese accents such as á, ç and ã.
I tried using the
# coding: utf-8
import arcpy
and the
# -*- encoding: utf-8 -*-
import arcpy
And both didn't work. I'am using on the Text Elements to change the text to something new. Like this:
textoGeral = arcpy.mapping.ListLayoutElements(mxd, "TEXT_ELEMENT")[9]
textoGeral.text = r"Cenário gerado com base nos resultados do modelo hidrodinâmico"
How can I do this?
Thank you