Deprecation: #78670 - Deprecated CharsetConverter methods
See forge#78670
Description
The symfony/ package provides us with mb_ functionality in all installations.
Therefore some methods of
Charset have been marked as deprecated, since the equivalent mb_ functions can be used directly:
strlen: use() mb_directlystrlen () substr: use() mb_directlysubstr () strtrunc: use() mb_directlystrcut () conv: useCapitalize () mb_directlyconvert_ case () conv_: usecase () mb_orstrtolower () mb_directlystrtoupper () utf8_: usesubstr () mb_directlysubstr () utf8_: usestrlen () mb_directlystrlen () utf8_: usestrtrunc () mb_directlystrcut () utf8_: usestrpos () mb_directlystrpos () utf8_: usestrrpos () mb_directlystrrpos () utf8_: no replacementbyte2char_ pos () euc_: usestrtrunc () mb_directlystrcut () euc_: usesubstr () mb_directlysubstr () euc_: usestrlen () mb_directlystrlen () euc_: no replacementchar2byte_ pos () $four: no replacementByte Sets
Impact
Calling the deprecated
Charset methods will trigger a deprecation log entry.
Affected Installations
Any installation using third party extensions leveraging the mentioned
Charset functionality.
Migration
Use the equivalent mb_string methods directly as denoted above.