-
Notifications
You must be signed in to change notification settings - Fork 78
Closed
Labels
needs reproIssue needs a reproductionIssue needs a reproductionneeds triageIssue needs to be triagedIssue needs to be triaged
Description
Astro Info
Astro v4.5.5
Node v21.6.2
System Linux (x64)
Package Manager bun
Output static
Adapter none
Integrations @astrojs/tailwind
@astrojs/preact
astro-reroute
If this issue only occurs in one browser, which browser is a problem?
Chrome, Chromium, Firefox
Describe the Bug
Updated Astro from 4.0.8 to latest 4.5.4 and suddenly browsers receive files with broken utf-8 characters:
<meta charset="UTF-8" />
is set.
Input files are encoded in proper UTF-8 charset.
For now my only solution for deployment is to enforce UTF-8 via .htaccess headers.
Dev server still displays broken characters.
What's the expected result?
During development and after build non-ASCI character should be properly encoded.
For example:
ö
should beö
ü
should beü
- ...
Link to Minimal Reproducible Example
https://github.com/donnikitos/astro-utf-bug
Participation
- I am willing to submit a pull request for this issue.
Metadata
Metadata
Assignees
Labels
needs reproIssue needs a reproductionIssue needs a reproductionneeds triageIssue needs to be triagedIssue needs to be triaged