Share via


How to convert Turkish characters to English characters in PowerShell

(Get-Culture).TextInfo.ToTitleCase("helloğüşiöçĞÜŞİÖÇthere") -creplace "ş", "s" -creplace "Ş","S" -creplace "ğ","g" -creplace "Ğ","G" -creplace "ı","I" -creplace "İ", "I" -creplace "ü", "u" -creplace "Ü", "U" -creplace "ö", "o" -creplace "Ö", "O" -creplace "ç", "c" -creplace "Ç","C"