I believe you must have met, open a Web page, but show a heap of like garbled, such as "бїяазъся", "????????"? Remember the message header fields Accept-charset, accept-encoding, Accept-language, content-encoding, content-language in HTTP? And
I had to make a Japanese webpage. Although there were only a few pages, it took a lot of time and it was very depressing.
1. The page code should be set as follows:
Meta
HTTP-equiv
= "Content-Type"
Content
= "Text/html; charset = shift_jis"
CharSet ExampleUsing UTF8 encoding (internationalized encoding)Use Chinese gb2312 encoding The following coding methods, such as: Chinese GBK, Traditional Chinese Big5, Japanese euc-jp, Korean euc-kr, each language encoding is different, so need to
In LInux, Mplayer subtitles are garbled and Japanese fonts are partially garbled. For details, refer to Linux general technology-Linux technology and application information. If ASS Subtitles cannot be loaded, you need to convert the ASS subtitle
Previous wordsHTTP messages can host content in any language, as if it could host images, movies, or any type of MEDIA. For http, The entity body is just a container for binary Information. In order to support international content, the server needs
Previous wordsHTTP messages can host content in any language, as if it could host images, movies, or any type of media. For HTTP, the entity body is just a container for binary information. In order to support international content, the server needs
========================================================== ====================================== Supplement 1: ========================================================== ======================================MySQL character encoding is introduced
Character Set base character set: A character set in a database contains two meanings
A collection of various text and symbols, including national text, punctuation, graphic symbols, numbers, etc.
The encoding of characters, that is,
When we browse the Web, open a document or mail, and run the software, we often see garbled characters, usually due to the source file encoding, Windows does not correctly identify the cause, or it may be other reasons. Garbled to bring us too much
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.