简体   繁体   English

AngularJS不显示西里尔字母

[英]AngularJS doesn't display Cyrillic

I have a problem with outputting Cyrillic in my AngularJS app, I've googled for this problem and there is no solution that suits me, the bind-unsafe-html is not what I'm looking for, I need to be able to bind data with angular expressions {{like_so}} . 我在AngularJS应用程序中输出西里尔字母时遇到问题,我已经用谷歌搜索了此问题,没有适合我的解决方案, bind-unsafe-html不是我想要的,我需要能够绑定带有角度表达式{{like_so}} Is there a way? 有办法吗?

原来我只是弄乱了WebStorm中的文件编码,它在Windows-1251中,我只需要将其更改为utf-8

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM