Skip to content

csso ignores charset and always produces UTF-8 #461

Open

Description

@Mrten
root@minify:/tmp/csso.dXlepOUyop# cat test.css
@charset "windows-1252";
/** Pijltje omlaag **/
.dbv5-html-data table > :is(thead, tfoot) > tr > th.dbv5-html-sort-desc::before {
  content: "\25BC";
}

procudes an invalid

root@minify:/tmp/csso.dXlepOUyop# csso test.css
@charset "windows-1252";.dbv5-html-data table>:is(thead,tfoot)>tr>th.dbv5-html-sort-desc::before{content:"▼"}

W3.org states this should work, and the whatwg says the name of the encoding is correct.

Can i disable this optimizing of content?

(version 5.0.5)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions