Links containing ö ä å cannot be shared

I’ve run into a problem a few times when sharing links on my wall containing extended characters, such as

The link preview doesn’t work in these cases and the link generated is truncated at the first ö character.