How to solve Chinese can't display problems normally in ASP.NET?

xiaoxiao2021-03-06  41

Source: Unknown Author: Unknown Recommended rating: Visits: 16

Many times ASP.NET will not display Chinese, how to solve this depressed small problem? You can try the following solutions: The first way: add <% @ codepage = "936"%> "statement to each page. For example: <% @ codepage = "936"%> <% @ Import namespace = "system.data"%> <% @ import namespace = "system.data.ado"%> <% @ import namespace = "system.globalization "%> second approach: Add a config.web file to the Web Under contents. First create a file config.Web, the content is as follows: and put it in the web directory. Third Measures: Find this file in Winnt / Complus / [Version] /config.web, Note [Version] refers to the version number of NGWs, such as: Winnt / Complus / 1812.9 / config.web, then, we use Notepad Open this file and find the following line: See if you can help you solve these small problems.

转载请注明原文地址:https://www.9cbs.com/read-70452.html

New Post(0)