Home > Software engineering >  html concatenate arabic and english text unreadable format
html concatenate arabic and english text unreadable format

Time:02-10

I am trying to generate some text that contains arabic and english text

here is my code

retText = retText   '\t\t<attribute name="تاريخ المراسلة">'   date   '</attribute>\n';

the generated test is

<attribute name="تاريخ المراسلة">2022-02-02</attribute>

but it should be

<attribute name="تاريخ المراسلة”>  </attribute>

what should I do please to fix the order of the text

CodePudding user response:

  •  Tags:  
  • Related