Byte characters utf-8 Unicode and submit form validation character length ....

Source: Internet
Author: User
Usually we say the word is actually refers to the character, the character refers to the computer use of letters, numbers, words and symbols, including: 1, 2, 3, A, B, C, ~! #¥%......-* ()--+ and so on. The characters in different encoding formats are different, such as 2 bytes in GBK, 3 bytes in Utf-8, and iso8859-1 strictly for Chinese characters. Utf-8 is only an implementation of the Unicode Word table (all text has a uniform, unique encoding), and the number of bytes is longer. The basic universal utf-8 in the Internet can represent characters worldwide. Page Submission Form input box The length of the limit refers to the character length is not related to the byte, that is, English, symbols, Chinese characters, numbers are the same, check a few characters on the line.

Byte characters utf-8 Unicode and submit form validation character length ....

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.