vs2015 generates Chinese garbled characters on cordova pages

Original: vs2015 generates Chinese garbled characters on cordova pages


1. Create a new Cordova project with VS2015, start and run index.html Chinese display garbled characters

solution:

1. Use text/html universal parsing encoding utf-8

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

2. Use Notepad to open the index.html file, save as a file, select the encoding utf-8, and then the page display will be normal




Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325651388&siteId=291194637