Please I need help to convert string to utf8.
cabeça - > cabe%C3%A7a
zé -> z%C3%A9
avó -> %C3%B3
I need to store the converted value in a variable.
I tried to use utf8encode(variable) but did not work.
But the result was "cabeça" and not "cabe%C3%A7a" as expected.
Please, some help.