I've a rails application, with some javascripts (written in UTF-8). One of the javascripts contains non ANSI characters like à. When the javascript is compiled (one javascript is created from many of them), this characters are wrongly written.
For example, ó becomes ó
I know that there must be a problem of encodings, but I don't know how to resolve it. Is somehow to tell rails that my javascripts are UFT-8? I've tried to add <%# encoding: utf-8 %> to the js file, but its not working.
THanks