mirror of
https://github.com/penpot/penpot.git
synced 2026-10-29 22:10:34 +00:00
Sass adds @charset "UTF-8" to every module with non-ASCII characters, and concatSass joined the modules as they came, so main.css carried it in the middle of the file. Browsers only honor @charset as the first rule, and the server sends text/css with no charset. When the browser did not take the page encoding for the stylesheet, it read main.css as Latin-1 and CSS content such as the bullet of the library element counts showed as "•". Drop every @charset while joining the modules and put one at the start. Closes #12677 AI-assisted-by: claude-opus-5-5