Ahhhh, what should I do? _html/css_WEB-ITnose
The pages made by others can use utf-8 to display Chinese characters
But I can only display them using utf-8 Garbled characters, Chinese can only be displayed normally using utf-8
Why is this? How to use utf-8 to display Chinese normally
I am a newbie, please explain carefully~
Reply to the discussion (solution)
In the
In addition, encoding is required Unification, files, meta, headers, databases and methods of connecting to the database must be unified in coding.
The method on the first floor is ok, this method is also ok, the html5 method, it conforms to the verification,,,, and then there is The encoding should be unified
The encoding should be unified
Try adding this before the
The method on the first floor is OK, and this method is also Yes, the html5 method conforms to the verification,,,, and the encoding must be unified
Neither of these two methods will work
Add this test before the
The method on the first floor is ok, this method is also ok, the html5 method is in line with the verification,,,, and the encoding must be unified
Neither of these two methods will work
Unify the encoding ,, css html to see if they are the same
Then there is the issue of editor settings. What editor do you use?
Then there is the issue of editor settings. What editor do you use?
It doesn’t work when using vim, just switch to notepad.
Is there a setting problem?
I have never used vim..
Then there is the issue of editor settings. What editor do you use?
It doesn’t work when using vim, just switch to notepad.
Is there a setting problem?
Never used it
It doesn’t work when using vim, just switch to notepad.
Is there a setting problem?
Notepad is used in a Windows environment and already supports Chinese; but vim is under Linux. Maybe there is no Chinese language pack on Linux, or it may be a problem with the language setting of Linux.
It doesn’t work when using vim, just switch to notepad.
Is there a setting problem?
Notepad is used in a Windows environment and already supports Chinese; but vim is under Linux. Maybe there is no Chinese language pack on Linux, or it may be a problem with the language setting of Linux.
Using vim does not work under Linux or Windows
The language settings of the editor, the language settings of html, and the language settings of the background database. . .
Using vim does not work under Linux or Windows
Vim is an editor under Linux. How come it is under Windows? It should be Linux connected through a Shell client under Windows. The problem is still On Linux. Under Windows, it is enough to edit through notepad without garbled characters. If it is not the situation I mentioned, please attach a picture to take a look.
Vim does not work under both Linux and Windows
Vim is an editor under Linux. How come it is under Windows? It should be Linux connected through a Shell client under Windows. , the problem is still on Linux. Under Windows, it is enough to edit through notepad without garbled characters. If it is not the situation I mentioned, please attach a picture to take a look.
Windows has gvim, which is the same.
gvim should be under the F:cygwinbin directory. Is cygwin installed on your computer?
The encoding standard is utf-8
I've been in your situation before, it's very simple, just change charset=utf-8 before saving the page, or GBK, both will work, but I recommend you to use GBK!
The problem has been solved. It was an issue with the encoding settings of the editor. Thank you everyone

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

HTML is suitable for beginners because it is simple and easy to learn and can quickly see results. 1) The learning curve of HTML is smooth and easy to get started. 2) Just master the basic tags to start creating web pages. 3) High flexibility and can be used in combination with CSS and JavaScript. 4) Rich learning resources and modern tools support the learning process.

HTML defines the web structure, CSS is responsible for style and layout, and JavaScript gives dynamic interaction. The three perform their duties in web development and jointly build a colorful website.

WebdevelopmentreliesonHTML,CSS,andJavaScript:1)HTMLstructurescontent,2)CSSstylesit,and3)JavaScriptaddsinteractivity,formingthebasisofmodernwebexperiences.

GiteePages static website deployment failed: 404 error troubleshooting and resolution when using Gitee...

AnexampleofastartingtaginHTMLis,whichbeginsaparagraph.StartingtagsareessentialinHTMLastheyinitiateelements,definetheirtypes,andarecrucialforstructuringwebpagesandconstructingtheDOM.

To achieve the effect of scattering and enlarging the surrounding images after clicking on the image, many web designs need to achieve an interactive effect: click on a certain image to make the surrounding...

HTML, CSS and JavaScript are the three pillars of web development. 1. HTML defines the web page structure and uses tags such as, etc. 2. CSS controls the web page style, using selectors and attributes such as color, font-size, etc. 3. JavaScript realizes dynamic effects and interaction, through event monitoring and DOM operations.

The Y-axis position adaptive algorithm for web annotation function This article will explore how to implement annotation functions similar to Word documents, especially how to deal with the interval between annotations...
