Home >CMS Tutorial >PHPCMS >phpcms choose utf8 or gpk
Selection of utf8 and gpk in phpcms:
utf-8: Chinese characters occupy 3 bytes, English characters occupy one byte
gbk: Chinese characters occupy 2 bytes, English characters occupy 2 bytes
utf-8: Good international compatibility, foreign browsers can access it without downloading language packs.
gbk: National level.
It is recommended to choose utf-8 encoding. utf-8 is an encoding format common to all countries, and gbk is an encoding format in our country and is not suitable for global use. You can choose according to the actual requirements and scope of use of your project.
Recommended tutorial: "phpcms tutorial"
The above is the detailed content of phpcms choose utf8 or gpk. For more information, please follow other related articles on the PHP Chinese website!