def clean_fullname(val):
    """Remove special characters from user full name."""
    if not val:
        return val
    val = val.strip()
    for i in range(32):
        val = val.replace(chr(i), '')
    return val
