Good afternoon writing

$scope.Students = [ {"id": "1","Fio": "Ivanov"},{"id": "2","Fio": "Петров"},{"id": "3","Fio": "Аргунов"},{"id": "55","Fio": "Ракзин Роман"}]; 

Then I display

 <li ng-repeat="Student in Students" > <a ng-href="#">{{Student.Fio}}</a> </li> 

But instead of Russian words I see diamonds with a question inside. What can be with the coding here?

At the same time, all other Russian characters are displayed normally.

Then put another <html lang="ru" ng-app="app"> , but still.

Thank.

  • Possibly, the file in which the initialization of $scope.Students is saved is in cp12551, and the html file is stored in utf-8. - KoVadim
  • Is <meta charset = "utf-8"> in head? - MasterAlex

1 answer 1

UTF-8 in meta is good, but you also need to save the file in it, any normal editor shows this, take Notepad2 though, in the status bar you can see and switch the encoding.