Home > Backend Development > PHP Problem > Does php not support unicode?

Does php not support unicode?

藏色散人
Release: 2023-03-10 12:10:01
Original
2131 people have browsed it

php does not support unicode, because Unicode is a reliable way to represent all letters and symbols, and PHP can only support eight-bit binary encoded character sets.

Does php not support unicode?

The operating environment of this article: windows7 system, PHP7.1 version, DELL G3 computer

Doesn’t php support unicode?

Unicode is a reliable way to represent all letters and symbols.

PHP official documentation says: "A string string is composed of a series of characters, each character is equivalent to one byte. This means that PHP can only support 256 character sets,"

means that PHP can only support eight-bit binary encoded character sets. And Unicode is all of them.

charset=utf-8 This part indicates that UTF-8 character encoding is used, which is the abbreviation of 8-bit Unicode Transformation Format.

From this point of view, does it explain why PHP cannot support Unicode encoding? It may be possible, but it is just some strange characters.

Recommended learning: "PHP Video Tutorial"

The above is the detailed content of Does php not support unicode?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template