javascript - AngularJS ng-view does not pass utf-8 encoding to nested pages? -
my application contains index.html page looks follows:
<!doctype html> <html ng-app="myexample"> <head> <meta charset="utf-8" /> </head> <body> <div ng-view></div> </body> </html>
the ng-view div filled different pages store in folder. writing german speaking audience, need include special characters ä, ö, or ü. however, these characters rendered correctly if written somewhere within index.html page. displayed somewhere in nested page of ng-view div, represented < ? >. seems if utf-8 encoding not passed on nested html files. made sure html files utf-8 encoded (i'm using eclipse development , changed properties of file utf-8). know or how solve it?
i had problem in visual studio , solution save file in correct encoding -- in case utf-8.
Comments
Post a Comment