将本地语言的Php函数替换为更改位置为Unicode

eg. AcF to cFA Here AcF is other language and output is cFA it's UNICODE.

when we write AcF then it must I have to write like cFA then its output in browser will the same ... AcF but it is now unicode...

hits... unicode write as pronounce... eg..

$str  = str_replace("","સ્ટિ",$str); // સ્ટિ  

સ → સ ્→ ્ ટ → ટ િ → િ



  Find 
  is other language so its write like..... 
1st chr is  િ   
2nd chr is સ્   (half character)
3rd chr is  ટ       

Replace
1st chr is  સ્    સ = સ ્= ્ 
2nd chr is  ટ = ટ 
3rd chr is  િ = િ

NOW.... I WANT SOLUTION with function LIKE

Find 
  is other language so its write like..... 
1st chr is  િ   
2nd chr is Anyhalf character
3rd chr is  AnyFull character       

Replace
1st chr is  Anyhalf character
2nd chr is  AnyFull character
3rd chr is  િ

I also added at top [meta http-equiv="Content-Type" content="text/html;charset=UTF-8"] and save file with Encoding Utf-8.

I spent 30hr for solution but fail. I hope some one help me... Thank You.