- Open source files in binary mode to prevent OS-level newline translation - Treat '\r' character as equivalent to '\n' in the tokenizer - Handle '\r' followed by '\n' as a single line break via twoCharToken