I'm basically trying to get data from field of type RichText and place that data in a textbox. There are 2 major problems with that, the first one I already found a solution to, wich is that you get the data in HTML format, to fix that I placed it first in a text element and then set the value of the textbox to that text. It works almost perfect, it still shows special characters in unicode or something like that.
Example: when I retrieve the data "Sem formatação" and do that trick to convert HTML to plain text, it returns "Sem formatação".
I made also a test: I wrote some text with special characters in a text element and then set the value of the textbox to that text and it converted the special characters.
I tried it with variables, with the toString() function, but nothing converts the special characters. Can someone please me?