Symptom: From BlogEngine.net updated from 1.4.5 to 1.5, the background management page is always garbled and the page layout is a mess.
Follow the steps below to solve 1. In web. config, set the page encoding to UTF-8 by default and set fileEncoding = "UTF-8" in the globalization section of web. config"
<Configuration>
<System. web>
<Globalization fileEncoding = "UTF-8"/>
</System. web>
</Configuration>
2. Convert all files into UTF-8 format
Some people on the Internet say that there is a problem with Http compression, so we can just remove it and choose it. It may be useful to solve the problem.
Still garbled after converting all files to UTF-8 format.
3. System. Text. Encoding. Default --> System. Text. Encoding. UTF8
In BlogEngine. NET_1.5 _ (source) \ BlogEngine. core \ Web \ HttpModules \ CompressionModule. in the cs file, use System. text. encoding. default to read/write resources, but in the Chinese System, System. text. encoding. default is not a UTF-8, and all ASP. NET input and output are all UTF-8, so the font is messy and changed to System. text. encoding. UTF8 solves the problem.
References
Solve the problem that BlogEngine. NET 1.5.0 encountered a Chinese character problem after installing