Quantcast
Channel: ajaxmin Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 683

Commented Unassigned: CSS ASCII Encoding Error [21679]

$
0
0
Hi,

I have experienced an error relating to the CSS ASCII encoding.

I have changed the default encoding to ascii to avoid the well documented issue about converting "\e804" characters to "?" but now a space is added to the end of the character. Is this a bug or an issue my end?

#My code:

```
ajaxmin.exe TEST.css -out TEST.min.css -enc:out ascii -clobber
```

#Original CSS:

```
.icon-pencil:before
{
content: "\e606";
}
```

#Output CSS:

```
.icon-pencil:before{content:"\e606 "}
```

Please note the space at the end of the character code.

Regards,

Paul
Comments: ** Comment from web user: ronlo **

I would expect that to be by design; is the space causing you an actual problem? According to the CSS specs, escape sequences are a slash followed by up to six hex digits. If there are _fewer_ than six digits, a space is used to designate the end of the sequence. So that string is just a single character with a hex value of 0xe606. OR are you seeing something else?


Viewing all articles
Browse latest Browse all 683

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>