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

Commented Issue: Unicode Issues [19423]

$
0
0
I used a older version of AjaxMin and when I minify the file Unicode characters are encoded properly

For example Bokade besök will be converted to Bokade bes\u00f6k

But with the latest update it doesn’t work. Following is the command I ran

```
ajaxmin "C:\Users\jeyakumaran_m\Documents\Rahmqvist\Source\JQueryMobile\lng\LANG.js" -o "C:\Users\jeyakumaran_m\Documents\Rahmqvist\Source\JQueryMobile\lng\LANG.min.js" -clobber
```

I even tried this

```
ajaxmin "C:\Users\jeyakumaran_m\Documents\Rahmqvist\Source\JQueryMobile\lng\LANG.js" -o "C:\Users\jeyakumaran_m\Documents\Rahmqvist\Source\JQueryMobile\lng\LANG.min.js" -clobber -enc:in utf-8 -enc:out utf-8
```

But no luck. Has anyone had the same problem??
Comments: ** Comment from web user: ronlo **

When version 4.93 releases, I've added a new property on the CodeSettings object: AlwaysEscapeNonAscii. The default is false, which means any \uXXXX escaping should be handled by the encoder fallback when writing the minified file to an output stream. But when set to true, any character greater than \u007e will get encoded in the minified output. For the command-line, I've added the -esc:BOOL switch to turn that feature on.


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>