Question

J'essaie vraiment de montrer ce que l’intention me donne, mais cela ne donne pas & amp; euro; pour le caractère €.

j'essaie

echo htmlentities(htmlentities("LISBOA-VIENA DESDE 99€ TAXAS INCLUÍDAS, RESERVE JÁ",ENT_COMPAT,ISO-8859-1),ENT_COMPAT,ISO-8859-1);
    echo '<br>';
    echo htmlentities(htmlentities("LISBOA-VIENA DESDE 99€ TAXAS INCLUÍDAS, RESERVE JÁ",ENT_COMPAT,UTF-8),ENT_COMPAT,UTF-8);

et pour les deux je reçois

LISBOA-VIENA DESDE 99 € TAXAS INCLU & amp; Iacute; DAS, RESERVE J & amp; Aacute;

LISBOA-VIENA DESDE 99 € TAXAS INCLU & amp; Iacute; DAS, RESERVE J & amp; Aacute;

Je ne reçois jamais un & amp; euro;

Quelqu'un sait-il comment y arriver?

Était-ce utile?

La solution

C’est discuté ici ; il semble que € ( & # 8364; ) fonctionne souvent.

scroll top