Arabic letter replacment
-
Hi,
I need to do some search and replace in arabic sentences.
Which is maybe hard to explain, I don’t know if the arabic characters will show to your screen, but I’m gonna say it anyway.Arabic words are sometimes attached sometimes deattached, depending on the word it self. Different forms but one letter
For example we will take the letter س
*In the begaining of the word initial form ﺳ
Example سوف
*In the middle of the word form ﺴ
Example حسن
*In the end of the word attached form ﺲ
Example ليس
*In the end of the word isolated form ﺱ
Example ناس
*In the middle of the word but again in initial form ﺳ
Example ناسيAll these form are witten with one key by the keyboard which is ﺱ . The isolated form.
What i want to do is replace each form of the letter with different letter,
Let’s sayForm ﺳ replaced with a
Form ﺴ replaced with b
Form ﺲ replaced with c
Form ﺱ replaced with d
How can this be possible?
-
Well, it appears that i have to convert the hole text with Arabic presentation form-b coding in order to achieve what I want, luckly I found a tool to do that for me, also i have to reverse the text RTL, which is not hard to do.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login