Functions XML

I have a action for creating a XML file but in cases for example: "João" in XML file the "õ" appears with strange characters. The encoding of XML file is UTF-8.
Anyone can help me solve this problem, please.

Regards and Happy New Year

Anyone help me?
This case is solved...