Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Releases RSS feed needs to specify encoding in header #668

Open
jikamens opened this issue Oct 16, 2024 · 1 comment
Open

Releases RSS feed needs to specify encoding in header #668

jikamens opened this issue Oct 16, 2024 · 1 comment
Assignees

Comments

@jikamens
Copy link

rss2email is reporting this when parsing https://www.thunderbird.net/en-US/thunderbird/releases/atom.xml: "incorrectly declared encoding: document declared as us-ascii, but parsed as utf-8".

The response header for that URL doesn't specify a chracter set:

content-type: text/xml

According to RFC 3023, "In this case, MIME and XML processors MUST assume the charset is "us-ascii"... Omitting the charset parameter is NOT RECOMMENDED for text/xml."

Since there actually are UTF-8 characters in the feed, the correct fix here is for ; charset="utf-8" to be added to the content-type header.

Ref: #264.

@MelissaAutumn MelissaAutumn self-assigned this Oct 16, 2024
@MelissaAutumn
Copy link
Member

Thanks for the report! I'll look into this.

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

No branches or pull requests

2 participants