Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

Handle BOMs in JS better when combining #446

Closed
GoogleCodeExporter opened this issue Apr 6, 2015 · 0 comments
Closed

Handle BOMs in JS better when combining #446

GoogleCodeExporter opened this issue Apr 6, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

BOMs were being treated as just part of the JS when combining, without taking 
into account what it meant regarding the JS's charset. This means we could 
combined JS with different charsets, giving an unparseable result.

The fix is to determine the charset of the JS and only combine candidates that 
have the same charset as the current combination.

Original issue reported on code.google.com by matterb...@google.com on 23 May 2012 at 1:13

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant