1.2.671. Mbstring Unknown Encoding¶
The encoding used is not known to the ext/mbstring extension.
This analysis takes in charge all mbstring
encoding and aliases. The full list of supported mbstring encoding is available with mb_list_encodings(). Each encoding alias is available with mb_encoding_aliases().
<?php
// Invalid encoding
$str = mb_strtolower($str, 'utf_8');
// Valid encoding
$str = mb_strtolower($str, 'utf8');
$str = mb_strtolower($str, 'UTF8');
$str = mb_strtolower($str, 'UTF-8');
?>
See also ext/mbstring.
1.2.671.1. Connex PHP features¶
1.2.671.1.1. Suggestions¶
Use a valid mbstring encoding
1.2.671.1.2. Specs¶
Short name |
Structures/MbstringUnknownEncoding |
Rulesets |
|
Exakat since |
1.9.9 |
PHP Version |
All |
Severity |
Minor |
Time To Fix |
Quick (30 mins) |
Precision |
High |
Available in |