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 - Unable to make sub reports with Jasper -

scala - play framework: Modules were resolved with conflicting cross-version suffixes -

Passing Variables from AngelScript to C++ -