import re


def replace_special_whitespace_chars(text: str) -> str:
    """It's annoying to deal with nonbreaking whitespace chars like u'xa0'
    or other whitespace chars.  Let's replace all of them with the standard
    char before doing any other processing."""
    text = re.sub(r"\s", " ", text)
    return text