html页面引用script出现中文乱码问题

在html的head标签中加入代码:

  <meta http-equiv="Content-Type" content="text/javascript; charset=utf-8" />

引用来源:https://blog.csdn.net/qq_41718329/article/details/112769079

posted @ 2022-02-19 10:37  KongLong_cm  阅读(155)  评论(0)    收藏  举报