javascriptruby-on-railsasset-pipelineemojiastral-plane

Rails Asset Pipeline Minify Changing 4 Byte Unicode Characters


I am using http://code.kwint.in/emoji/ to convert unicode iOS emoji characters to images in my Rails app.

It works fine in development, but when precompiling assets for production, the unicode character codes are changed.

For instance, they go from "😄" to "".

How can I prevent this change from happening, as it breaks the emoji.js script I linked above?


Solution

  • This was fixed by an updated version of Rails 3.2