Home > Development Tools > dreamweaver > What to do if the Dreamweaver preview interface is garbled in Chinese

What to do if the Dreamweaver preview interface is garbled in Chinese

青灯夜游
Release: 2021-03-12 10:28:34
forward
3472 people have browsed it

This article will introduce to you the solution for Chinese garbled characters in the preview interface of Dreamweaver. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to everyone.

What to do if the Dreamweaver preview interface is garbled in Chinese

Related recommendations: "dreamweaver tutorial"

Solution to Chinese garbled characters in Dreamweaver preview interface

1. Website development often requires dealing with multiple languages, the most common of which is a mix of Chinese and English. It displays normally when using the browser, but garbled characters are displayed in the Dw preview window, seriously affecting the visual effects and development progress. I checked the information online and said that the default file format is Utf-8. After many attempts, I still cannot solve the following problem.

#2. After various tests, it turns out that the problem is not the text encoding format, but that the display encoding format is not specified for the page. Just add the following code to the page, and the final effect is as shown below.

<meta charset="utf-8">
Copy after login

For more programming-related knowledge, please visit: Introduction to Programming! !

The above is the detailed content of What to do if the Dreamweaver preview interface is garbled in Chinese. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:csdn.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template