1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:27:45 +00:00

LibWeb: Fix utf16-be check in HTMLEncodingDetection

The utf-16be check mistakenly skipped index 3, so was not checking the
correct bytes. This meant UTF16-BE files could fail to decode.
This commit is contained in:
MacDue 2024-01-05 00:49:08 +00:00 committed by Andreas Kling
parent 5e973fca0b
commit fc41c282ec
3 changed files with 24 additions and 2 deletions