We have to put the webpage on the Internet for a lot of time, but there are still a lot of free space to use, whether it is domestic or foreign, but sometimes we will find that the webpage that was put on the screen actually appeared. The garbled, how to solve this?
In the first line of the data extraction page, replace the code with the following code:
1. If it is an HTML file (.htm.html): Br>
Add
2. If it is a PHP/cgi file (.php .php3 .php4):
Add the first line of each PHP file
3. If it is an asp file (.asp.jsp):
The following is a good news, talk about the asp source file on the foreign server Chinese problem solution:
1. First, put Your asp source file is fully tested in IIS, calling each function, confirming that it is fully usable, displaying Chinese correctly, and opening the *.mdb database file to see if the Chinese display is normal. After all passes, make a backup file and you can perform the second step.
2. If you don't understand asp at all, the easiest way is to:
Open all *.asp files and insert them in the first line,
Exception Situation:
1. If the first line is at the beginning,
then change the first line to:
2, if the first line starts with or, then Do not join.
3. After the second step is completed, use IIS to test each function, such as displaying \\0\\conn.asp line 1, which is an error message, meaning: conn.asp source file If there is a line wrong, then delete it. Some exceptions are wrong, please go to http://search.microsoft.com/default.asp ;; here, enter “error information” query, all functional tests are feasible After that, you can upload it to a foreign server and test it.
4. The method is still: call each function, all can be used correctly and can display Chinese, then "deliver" ” *.mdb file (very important), open, confirm that Chinese can be displayed correctly And you're done.
In addition, the Chinese display method of ACESS2000 on foreign servers does not need to convert the database ACESS2000, just add
in the first line of ASP. How to solve the problem of displaying problems in foreign space Chinese
Non-program generated text can be displayed. But the text generated by the program can only be displayed in E text. Chinese is all the number, which is caused by garbled database.
Method one:
Open the database using Microsoft Access 2000 and select Tools menu > Database Utilities > Convert Database > to the earlier Access database version. OK!
Method 2:
Later, I subscribed to Microsoft's newsgroup and found a discussion about this
question in Microsoft's newsgroup dotnet.framework.aspplus.general The article, the method is added to the beginning of each page, a bit similar to the
in jsp. Hurry and test it, and sure enough OK!!!
Examples are as follows:
Method three:
Add a config.web file to the
web directory,
Create a file config.web, the content is as follows, placed in the WEB directory
requestencoding="utf-8"
responseencoding="utf-8"
/>
If the above problem occurs, it is Easy to solve, as long as you can use these methods, basically solve the problem with code, I believe that it is not difficult for people who want to put on the page, I hope to help everyone.
u disk is an indispensable tool in our office life. Recently, some users have found that their u dis
Do you think you still dont know some functions of win 8? For example, if you want to make the opera
Lenovo Y460 users usually hear noise when using the computer, because this notebook is equipped with
In the process of using the u disk, we will inevitably encounter some problems. For example, sometim
Introducing the use of windows defender
In-depth analysis of the degree of hazard of the virus
How to disable certain specified programs in the system
Microsoft: The operating system application platform has been gradually formed
Repair Ubuntu boot partition after reinstalling XP
I have to know the computer command to share the
Computer head: Automatically shut down after the owner leaves
How to solve the problem of no bootable device when the computer is turned on?
Remove admin rights to block 92% of Windows vulnerabilities
Several common computer screen capture shortcuts?
Five strategies to clear hacker's cloned account
The reason why osx does not run .bashrc in the terminal is that the
Teach you a few tricks to solve the Windows 7 network latency problem
Batch Convert Image Format Method
Copying open source code in Microsoft Windows 7 USB/DVD tools?
Win10 system blue screen how to display detailed information
How to clone WindowsXP with Ghost2003
How does the bee assistant related Android mobile phone open "USB debugging"?
How to use the cmd command to delete files that are not used by win7 system