Herkese Merhaba ve şimdiden teşekkür ederim.
resimi upload ettiğim zaman sadece ü, ç ve ö harflerini ü , ç ve ö şeklinde çeviriyor kod yapısıda aşağıdaki gibidir. anlamsız bir sorunla karşı karşıyayım. bu arada diğer tr karakterlerini çeviriyor
class funcs
{
    private static $cevap = "";
    public static $url = "http://trgreencard.com/";
    public static function resimYukle($name,$tmp,$target){
         
$eng = array ('ı','İ','ş','ç','ğ','Ç','ö','Ö','ü','Ü','Ş','Ğ',' ');
 $tr = array ('i','I','s','c','g','C','o','O','u','U','S','G','');
$name= str_replace($eng, $tr,$name);
$tmp= str_replace($eng, $tr,$tmp);
      $target_dir = $target;
      $baskimsi = microtime().$name;
      self::$cevap = $baskimsi;
      $target_file = $target_dir . $baskimsi;
      $uploadOk = 1;
      $imageFileType = strtolower(pathinfo($target_file,PATHINFO_EXTENSION));
      $check = getimagesize($tmp);
      if($check !== false) {
          $uploadOk = 1;
      } else {
          self::$cevap = "Sadece Resim Dosyalarına İzin Verilmektedir.";
          $uploadOk = 0;
          return false;
      }
      if ($uploadOk == 0) {
// if everything is ok, try to upload file
      } else {
          if (move_uploaded_file($tmp, $target_file)) {
                return true;
          } else {
                self::$cevap = "İşlem Sırasında Hata Oluştu...";
                return false;
          }
      }
  }