parameters: (filename, lines, error)
docstring: Logs an error for each line containing Unicode replacement characters.
  
    These indicate that either the file contained invalid UTF-8 (likely)
    or Unicode replacement characters (which it shouldn't).  Note that
    it's possible for this to throw off line numbering if the invalid
    UTF-8 occurred adjacent to a newline.
  
    Args:
      filename: The name of the current file.
      lines: An array of strings, each representing a line of the file.
      error: The function to call with any errors found.
docstring_summary: Logs an error for each line containing Unicode replacement characters.
docstring_tokens: Logs an error for each line containing Unicode replacement characters .
function: def CheckForUnicodeReplacementCharacters(filename, lines, error):
    """Logs an error for each line containing Unicode replacement characters.
  
    These indicate that either the file contained invalid UTF-8 (likely)
    or Unicode replacement characters (which it shouldn't).  Note that
    it's possible for this to throw off line numbering if the invalid
    UTF-8 occurred adjacent to a newline.
  
    Args:
      filename: The name of the current file.
      lines: An array of strings, each representing a line of the file.
      error: The function to call with any errors found.
    """
    for linenum, line in enumerate(lines):
      if u'\ufffd' in line:
        error(filename, linenum, 'readability/utf8', 5,
              'Line contains invalid UTF-8 (or Unicode replacement character).')
function_tokens: def CheckForUnicodeReplacementCharacters ( filename , lines , error ) : for linenum , line in enumerate ( lines ) : if u'\ufffd' in line : error ( filename , linenum , 'readability/utf8' , 5 , 'Line contains invalid UTF-8 (or Unicode replacement character).' )