Skip to content

oEmbed: fix UTF-8 encoding of XML responses - #686

Merged
nleush merged 3 commits into
devfrom
fix/oembed-xml-utf8
Jul 27, 2026
Merged

oEmbed: fix UTF-8 encoding of XML responses#686
nleush merged 3 commits into
devfrom
fix/oembed-xml-utf8

Conversation

@iparamonau

Copy link
Copy Markdown
Member

Scope

Category: oEmbed

Demo

Demo link: https://rutube.ru/video/bf4825090681c5c25312534bab3c7f62/

About the changes

  • Bug fix (non-breaking change which fixes an issue)

What has changed

  • It appears SAX no longer decodes UTF-8 on its own, we need to do it ourselves
  • Re-prioritize, make JSON be the first choice for oEmbed when available

@siniakinaa
siniakinaa requested a review from nleush July 27, 2026 08:48
@nleush
nleush merged commit 37e1470 into dev Jul 27, 2026
3 checks passed
@nleush
nleush deleted the fix/oembed-xml-utf8 branch July 27, 2026 13:58
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.

3 participants