Investigate the Lark lexer (lark/lexer.py) to understand where input text is processed. The issue suggests adding an option to skip BOM, likely by checking the first bytes of the input and ignoring them if they are a BOM. Look for existing tests in the test suite related to encoding or whitespace handling. The maintainer may have indicated a preference for opt in behavior in the comments.