The strtoupper reply causes Chinese garbled text. This post was last edited by molaifeng from 2013-11-2509: 04: 16 & nbsp; during project deployment, A strange problem occurs. after the page is opened, the php script embedded in the html page is
The strtoupper reply causes Chinese garbled text. This post was last edited by molaifeng from 2013-11-2509: 04: 16 & nbsp; during project deployment, A strange problem occurs. after the page is opened, the php script embedded in the html page is
Usage of php case-sensitive conversion functions (strtolower and strtoupper)
This article describes the usage of the case-sensitive conversion functions strtolower and strtoupper in php, which are frequently encountered in character
Strtoupper back cause Chinese garbled?
This post was last edited by Molaifeng on 2013-11-25 09:04:16
When deploying the project, encountered a strange problem, the page opened, the PHP script nested in the HTML page of the part garbled, the database
Instance
Convert all characters to uppercase:
Definition and usage
The Strtoupper () function converts a string to uppercase.
Note: This function is binary safe.
Related functions:
Strtolower ()-Converts a string to lowercase
Lcfirst
[PHP source code reading] in strtolower and strtoupper function string operation functions, string case-sensitivity conversion is also a commonly used function, and its underlying implementation is relatively simple. let's take a look at it.
I
This post was last edited by Molaifeng on 2013-11-25 09:04:16
When deploying the project, encountered a strange problem, the page opened, the PHP script nested in the HTML page of the part garbled, the database is no problem. Later locate the
This article mainly introduces about the PHP source two: About Strlen, Strtolower, Strtoupper, Ord, Chr function, has a certain reference value, now share to everyone, there is a need for friends can refer to
int strlen (String string)Returns the
This article describes the use of Strtolower and Strtoupper in PHP for case conversion functions, which are often encountered in character handling issues. If you need a friend, refer to it.1, convert the string to the lowercase strtolower function:
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.