[EventCalendar] ec3_get_events() not translating ampersands into character entities

JD Puglisi jdpuglisi at hotmail.com
Fri Oct 5 17:12:18 UTC 2007


Should be:
$data['TITLE'] = 'Subject: '.htmlentities($entry->post_title, ENT_QUOTES);

Regarding your validation problem, you've got a long dash (em dash) in your 
event in Vancouver. That's breaking the UTF-8 validation. Easy way to check 
is to change the validation scheme to ISO-8859-1 and it will present your 
errors. You'll have to retype the title in that event (or change to the 
ISO-8859-1 charset). You'll still have a bunch of parsing errors to deal 
with but that may get you started.

JDP
------------------------------------------------
Update...

In eventcalendar3 > template-functions.php  I now have replaced

$data['TITLE'] = $entry->post_title;

with

$data['TITLE'] = 'Subject: '.htmlentities($entry->post_title);




More information about the EventCalendar mailing list