- str_ireplace: documentation ( source)
- trim: documentation ( source)
- setlocale: documentation ( source)
- ucfirst: documentation ( source)
<?php
setlocale(LC_ALL, 'ru_RU.CP1251');
$str = "Оригинальный картридж HP C9700A (121A) (черный)";
$str = trim(str_ireplace("Оригинальный", "", $str));
$str = iconv("UTF-8", "Windows-1251", $str);
$str = ucfirst($str);
$str = iconv("Windows-1251", "UTF-8", $str);
echo $str;