Method 1: if most of the page visitors are Arabic and there are few Chinese characters, they can use Arabic encoding, which is the most commonly used. If you use dreamwever to edit, edit Chinese on the notepad and paste it. At this time, because
I remember my previous interview with MicrosoftProgramThe interviewer asked how to display an Arabic webpage. We know that the display method of Arabic web pages is right-to-left and right-aligned. Since we didn't have access to such a page at the
Recently caused by character encoding problems very headache, many encoding methods can be described as "familiar with the unknown", gb2312, ANSI, UTF-8, Unicode .... So calm down and study hard.
References:
Http://www.ruanyifeng.com/blog/2007/10
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
Character encoding: ASCII, Unicode, UTF-8, gb2312
1. ASCII code
We know that in a computer, all information is eventually represented as a binary string. Each binary bit has two states: 0 and 1. Therefore, eight binary bits can combine 256
Character encoding: ASCII, Unicode, UTF-8, gb2312
1. ASCII code
We know that in a computer, all information is eventually represented as a binary string. Each binary bit has two states: 0 and 1. Therefore, eight binary bits can combine 256
What is a character set? What is encoding?
Character (Character) is the general name of words and symbols, including text, graphic symbols, mathematical symbols and so on.
A set of abstract characters is the character set (Charset).
Character
In the past, I did not really have any in-depth research on character encoding. This learning is also due to a customer complaint. In short, the customer complaint is that when our gateway truncates the customer's SMS content, the text message is
At noon today, I suddenly wanted to figure out the relationship between Unicode and UTF-8, so I began to look up information online.
As a result, this problem is more complicated than I thought. After lunch, we can see that the problem is fixed at
At noon today, I suddenly wanted to figure out the relationship between Unicode and UTF-8, so I began to look up information online.
As a result, this problem is more complicated than I thought. After lunch, we can see that the problem is fixed at
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.