Handling Uuencode via mbstring is deprecated; use convert_uuencode/convert_uudecode instead
Description
Since PHP 8.2, several encodings were dropped from mbstring, including uuencode.
This is a deprecation, so the feature is available until PHP 9.
Example
<?php
mb_convert_encoding('foo', 'uuencode');
?>
Alternatives
- It is recommended to use the
convert_uuencode()andconvert_uudecode()functions to do this.
Related error messages
- handling-base64-via-mbstring-is-deprecated;-use-base64_encode-base64_decode-instead
- handling-html-entities-via-mbstring-is-deprecated;-use-htmlspecialchars,-htmlentities,-or-mb_encode_numericentity-mb_decode_numericentity
- handling-qprint-via-mbstring-is-deprecated;-use-quoted_printable_encode-quoted_printable_decode
- handling-qprint-via-mbstring-is-deprecated;-use-quoted_printable_encode-quoted_printable_decode-instead
- handling-html-entities-via-mbstring-is-deprecated;-use-htmlspecialchars,-htmlentities,-or-mb_encode_numericentity-mb_decode_numericentity-instead
Changed Behavior
This error may appear following an evolution in behavior, in previous versions. See mb_convert_encoding