angularjs - $rootScope cyrillic encoding on page reload -


here authetication service (i'm using passportjs):

 $rootscope.currentuser = $cookiestore.get('user'); 

now when i'm trying bind $rootscope value:

 <p ng-bind="currentuser.username"></p> 

it encodes correct cyrillic symbols. when i'm reloading page get: ΜÑкимбаÐΜв

what can problem?


Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -