New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UTF-8 characters as object keys #164
Comments
Thanks for the feedback. We're aware of the problem. It's tracked here: assetgraph/assetgraph#111 It's a problem with uglifyjs, and thus a bit out of our hands. The issue still seems to be unresolved mishoo/UglifyJS#54 |
Does |
@papandreou IE still complains about it. It turns it into:
|
Then I'm afraid the only option is patching uglify-js. The good news is that we're already using a fork. See if you can implement a OutputStream (lib/output.js) option that fixes this, then PR it to https://github.com/papandreou/uglifyjs2 |
Ah, wait. There is also var i={"ဇ":"z","စျ":"za","ည":"ny"} I just fixed a quirk with how the boolean command line options are parsed and released assetgraph-builder 3.2.0. Either upgrade to that and use (otherwise you will have to use |
And if that does not work either, try var i={"\u1007":"z","\u1005\u103b":"za","\u100a":"ny"}; |
Hey |
Maybe we should make it the default. I'd really like us to automatically fix all of these corner cases developers should never have to think about |
I agree. It should be the default in UglifyJs, though. Turning on |
This bit of html breaks in IE11 because buildProduction strips the quotes around the object properties.
IE does not like this for some reason. This is a small snippet of code taken from speakingurl.
The text was updated successfully, but these errors were encountered: