-
Notifications
You must be signed in to change notification settings - Fork 52
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
Title with unicode doesn't work #90
Comments
I think this might be because |
Hey @jonasmerlin, I didn't set |
@mrcnski While modern browsers like Chrome strongly prefer UTF-8 as the default charset for websites without explicit declaration, there isn't a single guaranteed assumption. It's a multi-step process with multiple fallback options... here's what Chrome does:
However, relying on browser guessing and fallback defaults is strongly discouraged for several reasons:
Therefore, it's essential for website developers to explicitly declare the character encoding using either the |
Thanks for the detailed explanation @ttmc. For some reason I thought that astro-seo would set a default of UTF-8 if this field was omitted. I can see why we wouldn't want to set default any values, as they may be already set outside of the component. My mistake, but maybe this part of the README could be clarified slightly?
|
Thanks for the utility! I think I've found a bug. It seems that setting the
<SEO title=
field to some unicode breaks the generated HTML:The text was updated successfully, but these errors were encountered: