Skip to content

Special characters e.g. é in event text causes the ics file to not be generated correctly #258

Answered by orditeck
mmodha asked this question in Q&A
Discussion options

You must be logged in to vote

I don't experience this issue, I'm using special characters in calendar title, eg.:

new \Eluceo\iCal\Component\Calendar("Exemple avec des èàù accents")

and events, eg.:

(new \Eluceo\iCal\Component\Event())->setSummary("Résidus verts")

If I were you I'd look elsewhere, eg., setting the right headers:

header('Content-Type: text/calendar; charset=utf-8');

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by markuspoerschke
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #140 on April 25, 2021 11:05.