Skip to content

fix: read content encoding hints from <meta> tags#3780

Open
barjin wants to merge 3 commits into
v4from
fix/html-embedded-encoding
Open

fix: read content encoding hints from <meta> tags#3780
barjin wants to merge 3 commits into
v4from
fix/html-embedded-encoding

Conversation

@barjin

@barjin barjin commented Jun 24, 2026

Copy link
Copy Markdown
Member

Utilizes the byte-stream prescan (https://html.spec.whatwg.org/multipage/parsing.html#prescan-a-byte-stream-to-determine-its-encoding) to determine the HTML document encoding, if not specified in HTTP headers (or explicitly forced by user).

Closes #2317

@barjin barjin added this to the 4.0 milestone Jun 25, 2026
@barjin barjin requested a review from janbuchar June 25, 2026 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants