[HTML/CSS]在css中设置content属性有概率乱码

/ 208评论 / 1926阅读 / 0点赞

最近开发一个vue的小项目的时候,就碰到了这个问题,但其实HTML中已经设置了Utf-8编码方式,css中的中文仍然有概率会出现乱码

解决办法

可以是直接把中文转为一串utf8编码,然后替换进去,下面我们来聊聊要怎么做。

其他

  1. stickers说道:

    I was very happy to find this website. I wanted to thank you for your time for this wonderful read!! I definitely appreciated every bit of it and i also have you book marked to look at new stuff on your blog.

  2. memek说道:

    Way cool! Some extremely valid points! I appreciate you writing this post and the rest of the website is also really good.

  3. kontol besar说道:

    I’m impressed, I have to admit. Seldom do I come across a blog that’s both equally educative and interesting, and without a doubt, you’ve hit the nail on the head. The problem is something which not enough folks are speaking intelligently about. Now i’m very happy I came across this during my search for something concerning this.

  4. Medications说道:

    Howdy! This post could not be written much better! Reading through this article reminds me of my previous roommate! He constantly kept talking about this. I most certainly will send this article to him. Pretty sure he will have a great read. Thanks for sharing!

  5. this link说道:

    You are so cool! I don’t think I have read something like this before. So nice to find somebody with a few original thoughts on this issue. Seriously.. thank you for starting this up. This web site is one thing that is required on the web, someone with a bit of originality.

  6. Saved as a favorite, I like your website.

  7. Michael说道:

    bookmarked!!, I really like your web site.

  8. IWIN说道:

    Very good info. Lucky me I found your blog by chance (stumbleupon). I have saved as a favorite for later!

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注