Google Calendar feed displaying HTML entities incorrectly

Home Forums Calendar Products Events Calendar PRO Google Calendar feed displaying HTML entities incorrectly

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #17072
    Jen
    Participant

    One of my events included quote marks in the title, and I noticed that they appeared in the Google Calendar link as “ and ”. This was also a problem in the event description, where … was written out instead of displayed correctly.

    My solution was to modify googleCalendarLink() to run the content and title through html_entity_decode() and to specify ENT_QUOTES as the flag and ‘UTF-8’ as the character set.

    #17073
    Jen
    Participant

    HA! Your comment box encoded the HTML entities I used as examples. I actually wrote “ampersand, number sign, 8220, semicolon” and “ampersand, number sign, 8221, semicolon.”

    #976390
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Google Calendar feed displaying HTML entities incorrectly’ is closed to new replies.