While testing the PyPortal with places that have 3 words (2 spaces) or at least this special character ñ but maybe more.
Space example: In this case, it looks like only the first space was converted to _
https://electioncal.us/en/california/san_luis%20obispo
In this case the character ñ is translated to this ã±
https://electioncal.us/en/new_mexico/do%C3%A3%C2%B1a_ana