Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Microsoft does not like the normal space character anymore 🤷 #83

Closed
fabiodrg opened this issue Feb 17, 2021 · 0 comments · Fixed by #86
Closed

Microsoft does not like the normal space character anymore 🤷 #83

fabiodrg opened this issue Feb 17, 2021 · 0 comments · Fixed by #86
Assignees

Comments

@fabiodrg
Copy link
Collaborator

fabiodrg commented Feb 17, 2021

Quite an odd issue... I noticed that strings with spaces (event title or description) result in weird characters in Outlook. For instance, space is rendered as +. Even if the text is encoded, and spaces are replaced with %20 after encoding.

Demo: https://outlook.live.com/calendar/0/deeplink/compose?body=DESCRI%C3%87%C3%83O%20MUITO%20GRANDE&enddt=2021-03-17T20%3A45%3A00%2B00%3A00&location=&path=%2Fcalendar%2Faction%2Fcompose&rru=addevent&startdt=2021-03-17T17%3A15%3A00%2B00%3A00&subject=TITULO%20MUITO%20GRANDE

However, replacing the normal spaces with a thin space solves the problem! 🤯 The link below is the same as the first one. However, normal spaces (%20) are replaced with thin spaces (%E2%80%89): https://outlook.live.com/calendar/0/deeplink/compose?body=DESCRI%C3%87%C3%83O%E2%80%89MUITO%E2%80%89GRANDE&enddt=2021-03-17T20%3A45%3A00%2B00%3A00&location=&path=%2Fcalendar%2Faction%2Fcompose&rru=addevent&startdt=2021-03-17T17%3A15%3A00%2B00%3A00&subject=TITULO%E2%80%89MUITO%E2%80%89GRANDE

I am still trying to figure out why... and if other characters are affected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant