HTML, CSS, font-family: English name of the Chinese font (),
SimSun
Simhei
SimHei
Microsoft YaHei
Microsoft is in bold
Microsoft JhengHei
Xin
NSimSun
New body
PMingLiU
The simplest solutionSolve garbled characters:Modify/etc/default/localeSudo vim/etc/default/locale1Modify the defaultLANG = zh_CN.UTF-8LANGUAGE = zh_CN: zhIs:LANG = "en_US.UTF-8"LANGUAGE = "en_US: en"The following are some solutions for garbled
Generally, there are two ways to change an html page to jsp. The first is to directly modify the html file, and the other is to create a new jsp file. The two methods are described below.
Suppose we want to change the testpage.html file to the
A test environment
Operating system Red Hat as 5.5
Database
SQLServer2000 installed in Windows XP Professional, I assume that the database has a user autotest password is autotest, the database file is Atsdb
Attention:
1 MS has never provided
In the default configuration of Gedit Chinese garbled text (Fedora), garbled text files of the GB18030, GBK, and GB2312 types are opened in the Ubuntu text editor (gedit. The reason for this is that gedit uses a list of encoding matches only
In the default configuration of Gedit Chinese garbled characters, garbled characters may occur when you open a Chinese-encoded text file of the GB18030, GBK, or GB2312 type with the Ubuntu text editor (gedit. The reason for this is that gedit uses a
Song Body SimSunBlackbody SimheiMicrosoft Black Microsoft YaheiMicrosoft is in bold Microsoft JhengheiNew song Body NsimsunNew Fine Ming body PMingLiUFine Ming Body MingLiUStandard Italic DFKAI-SBImitation FangsongItalic KaitiImitation
Example 1 (Mi mi official website): font-family: "Arial", "Microsoft Yahei", "blackbody", "Arial", Sans-serif;
Example 2 (Taobao Technology Research and Development Center): font:12px/1.5 tahoma,helvetica,arial, ' song Body ', Sans-serif;
Example 3 (
UTF-8 contains the characters that all countries in the world need to use, is international code, strong universality. UTF-8 encoded text can be displayed on browsers that support UTF8 character sets in countries. For example, if the UTF8 code, the
html5 title HTML5 's content! HelloI wrote it in notepad, after the save on the Web page ran unexpectedly garbled. Replace with GB2312 to display Chinese correctly.html5 title HTML5 's content! HelloBut after all, the standards are Different. Still
Unicode,gbk,utf-8 differencesIn simple terms, UNICODE,GBK and five yards are encoded values, and utf-8,uft-16 is the expression of this value. And the preceding three kinds of coding is a compatible, the same Chinese character, that three code value
By default, garbled characters are displayed when you use the Ubuntu Text Editor (gedit) to open Chinese-encoded text files of the gb18030, GBK, and gb2312 types.
This is because gedit uses an encoding matching list. Only the encoding in this list
Unicode, GBK, UTF-8 differences in simple terms, Unicode, GBK and Big Five code is the encoded value, and UTF-8, uft-16 and so on is the representation of this value. the preceding three types of codes are compatible. The values of the three codes
In the default configuration of Gedit Chinese Garbled text (Fedora), Garbled text files of the GB18030, GBK, and GB2312 types are opened in the Ubuntu Text Editor (gedit. This is because gedit uses an encoding matching list. Only the encoding in
Http://www.cnblogs.com/cy163/archive/2007/05/31/766886.htmlUnicode,gbk,utf-8 differencesIn simple terms, UNICODE,GBK and five yards are encoded values, and utf-8,uft-16 is the expression of this value. And the preceding three kinds of coding is a
DOCTYPE HTML>HTML>Head>MetaCharSet= "UTF-8">title>HTML5 's titletitle>Head>Body>P>HTML5 's content! HelloP>Body>HTML>I wrote it in Notepad, after the save on the Web page ran unexpectedly garbled. Replace with GB2312 to display Chinese
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.