Community
    • Login

    Arabic letter replacment

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 1 Posters 2.5k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • hu maH Offline
      hu ma
      last edited by

      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 say

      Form ﺳ replaced with a

      Form ﺴ replaced with b

      Form ﺲ replaced with c

      Form ﺱ replaced with d

      How can this be possible?

      1 Reply Last reply Reply Quote 0
      • hu maH Offline
        hu ma
        last edited by

        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.

        1 Reply Last reply Reply Quote 0

        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
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors