Since I have added external css and js files to my rails app, I am encountering problems deploying my app to Heroku. I get the following error when the assets are precompiled :
JSON::GeneratorError: source sequence is illegal/malformed utf-8
As suggested in rake aborted! JSON::GeneratorError: source sequence is illegal/malformed utf-8 after rake assets:precompile, I installed isutf8 and ran the following command at my app folder level :
isutf8 *
It doesnt return any output which makes me think that the files in my app folder are valid utf8. Am I using the isutf8 tool correctly ? If yes, it should output invalid utf8 files as this is why heroku is crashing right ?