I am really trying to show what htmlentities gives me, but it doesn’t give & euro; for the € character.
I am trying
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);
and for both I get
LISBOA-VIENA DESDE 99€ TAXAS INCLU& Iacute;DAS, RESERVE J& Aacute;
LISBOA-VIENA DESDE 99€ TAXAS INCLU& Iacute;DAS, RESERVE J& Aacute;
I never get a & euro;
Anyone know how to get this right?
This is discussed here; it seems € (
€) works often.