Could you please help me find a way to insert Latin accents in the lstlistings environment? I've tried the direct way and also the indirect way, i.e using ç and \c{c}. However, when using ç, this error appers:
Package inpuntec Error: Unicode char ...\lst@EC ... (U+9EA7)(inpuntec) not set up for use with LaTeX.
Replacing the ç for the \c{c} gets rid of the error, but when the pdf is generated, the output is not converted to ç, but instead, it stays as \c{c}.

