How to decode into UTF-8 using angular js or Javascript

I started recently to use angular js, I like how it works, I want to know how can I set the charset encoding as a header.

My json file contains special characters ( French language ).

something like : Remplaçant

Is there any way to decode that into UTF-8 after retreiving it :

here is my code :

        .success(function (response) {
            $scope.lineup = response;    


Source: json

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.