Merge "upload: Suppress warnings from iconv()" into REL1_43

This commit is contained in:
jenkins-bot 2025-03-18 20:17:53 +00:00 committed by Gerrit Code Review
commit f0a5bd0c72

View file

@ -1393,7 +1393,9 @@ abstract class UploadBase {
}
if ( $enc !== null ) {
AtEase::suppressWarnings();
$chunk = iconv( $enc, "ASCII//IGNORE", $chunk );
AtEase::restoreWarnings();
}
$chunk = trim( $chunk );