Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

137
Vistas
How to add vowel to arabic letter

How to add vowel to arabic letter from unicode/hexentity

for example i have:

  • U+FE8F ( ﺏ ) and want to add this vowel U+FE76 ( ﹶ ) -> ﺏﹶ
  • U+FE8F ( ﺏ ) and want to add this vowel U+FE78 ( ﹸ ) -> ﺏﹸ

I do it by js

let s1 = document.createElement('span')
    s1.innerHTML = "ﺏ ﹸ or ﺏﹸ"
    document.querySelector('#text').append(s1)

thanks in advance.

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

The Arabic script in Unicode has in general five (5) forms of Unicode:

  1. General form letter (the normally used)

  2. (Contextual form) Isolated form letter.

  3. (Contextual form) End form.

  4. (Contextual form) Middle form.

  5. (Contextual form) Beginning form.

The Contextual forms have Unicodes from \uFE80.

Examples here:

enter image description here

More information here on Wikipedia.

When working with Arabic Letters (strings) use the General form (code) to do your string manipulations. The system takes care and detects the position of the letter within others and creates the right form out of the other 4 forms.

Now, if you start using the other forms. In your case, you have an Isolated Form that you want to concatenate to another Isolated Form letter it will not join.

An Isolated Form Letter needs a non-isolated form letter to join with.

In short, two Isolated Letters will not join and will remain isolated.

Here are some code examples:

//============================================
// Isolated Characters Codes
//============================================
console.log("----------- Isolated Letters Not Joining-------------")


let b_isolated = "ﺏ";          // isolated letter code  U+FE8F
let t_isolated = "ﺕ";          // isolated letter code  U+FE95
console.log(b_isolated+t_isolated);  // ﺏﺕ will never join

console.log(b_isolated+'\uFE78');        // ﺏﹸ will never join
console.log(b_isolated+'\uFE76');        // ﺏﹶ will never join



//============================================
// Normal/General Characters
//============================================
console.log("----------- General Letters Joining -------------")

let b_general = "ب"; // code U+0628
let t_general = "ت"; // code U+062A
console.log(b_general+t_general);  // بت  joined


// add normal accents to the normal letter
console.log(b_isolated+'\u064E');        // ﺏَ joined
console.log(b_isolated+'\u064F');        // ﺏُ joined

When using Arabic characters use the Unicode range \u0600 to \u06FF with sample here:

enter image description here

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda