mirror of
https://github.com/servo/servo
synced 2026-04-26 01:25:32 +02:00
Currently, our implementation for each line-checking function reads the file as bytes, so we need to properly decode each line to UTF-8 before evaluating it. This ensures it is counted as a string and not as bytes Testing: I tested by changing the comment like the issue above and it not give an error Fixes: #38237 Signed-off-by: Jerens Lensun <jerensslensun@gmail.com>