def remove_invalid_characters(s):
    'Remove invalid characters from translation string'
    return FIX_RE.sub(b'', s)
Remove invalid characters from translation string
def remove_invalid_characters(s):
    
    return FIX_RE.sub(b, s)