• Login
Community
  • Login

Arabic letter replacment

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
2 Posts 1 Posters 2.1k Views
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.
  • H
    hu ma
    last edited by Nov 14, 2016, 6:32 PM

    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
    • H
      hu ma
      last edited by Nov 15, 2016, 3:50 PM

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