nuxt-modules / og-image

Generate OG Images with Vue templates in Nuxt.
https://nuxtseo.com/og-image
361 stars 23 forks source link

German Umlauts not working #159

Closed marcelxpfeifer closed 3 months ago

marcelxpfeifer commented 4 months ago

If text contains german umlauts (äöü) the HTML shows the correct letters

image

but the satori svg and png show:

image

Not sure if its an issue of this module or if the issue is with satori

marcelxpfeifer commented 4 months ago

Found in the new v3 documentation that only english characters are enabled by default for Inter. A different font can be used. For more information check out: https://nuxtseo.com/og-image/guides/non-english-locales

marcelxpfeifer commented 4 months ago

Sorry to reopen the issue, but after trying to load different fonts from the Google API and using local fonts that support ÖÄÜ (which Inter should do as well). I can't seem to find out why umlauts are not working. In addition after updating to the v3 Beta locally everything seems to work fine, but after deploying to Netlify, umlauts are again broken.

harlan-zw commented 3 months ago

Would it be possible to get a reproduction? Seems to be working for me

image

marcelxpfeifer commented 3 months ago

Yes will try to provide one later today, but like I said locally it's working fine, only when I deploy to Netlify it breaks.

harlan-zw commented 3 months ago

Oh I see, I'll try doing a deployment with them

harlan-zw commented 3 months ago

I have tried prerendering and building locally and they seem to be working correctly. I'll need a reproduction to investigate further.