1
I have the following instructions ....
echo $parcelamento . "<br>";
echo utf8_encode($parcelamento) . "<br>";
echo utf8_decode($parcelamento) . "<br>";
... that return respectively this:
ou 12x de R$ 21,58 sem juros no cartÃÂão
ou 12x de R$ 21,58 sem juros no cartÃÂÃÂÃÂão
ou 12x de R$ 21,58 sem juros no cartão
Can anyone tell me how I will return the term card?
Another solution would be to replace card for card within the proposed sentence but I do not know how to develop any of the solutions.
I’m running a PHP for this XML
You defined the charset to utf-8? like this:
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
.– stderr
strange... Probably $installment already comes corrupted. line 1 (4utf8); row 2 (5utf8); row 3 (3utf8). As @Qmechanic73 suggested; the wrong encoding can fix one (2utf8) -- the problem must come from behind.
– JJoao
How you are getting and "parsing" this XML?
– bfavaretto
I suggest you edit the question and add the source of the data as well as the Encode/charset of the data. The way it is, let’s just keep kicking some possibility.. unproductive
– Daniel Omine