1

I try to write this word 'אזוה"ת' (Left to right label) with the value from field "nam" in the Label Expression with no success (the label expression dissapear):

u'אזוה"ת ' + [nam]

enter image description here

the wanted result should be: אזוה"ת כפר קאסם

this is my field details:

enter image description here enter image description here

when I wrote the expression this way:

u'אזוהת ' + [nam] 

it works but not as I need (need to add " Apostrophes sign):

enter image description here

I know I can create another field with the value 'אזוה"ת' , but i need the solution with the way I wrote above

I also read Integrate right to left text label expression with fields in ArcGIS 10.3 and didn't found any answer.

1
  • 1
    I think the issue is down to how it is interpreting " in your text, normally a backslash is used in python as an escape character, but it did not work. This page might give a hint to the source of the problem, they say support is better for unicode characters in Python 3, ArcMap uses python 2.7? Unless someone comes forward with a solution I would be contacting ESRI to see if they have a solution?
    – Hornbydd
    Nov 17 '20 at 12:47
2
  1. The reason for disappearing label is the use of double quotes in between your label
  2. I created a test field with double quotes and in the label expression added the desired values using " "
  3. If you want to add double quotes use ''(Sigle quotes twice) and check the result again
  4. "u'אזוהת '"+[nam]
  5. Another possible reason could be the missing quotes in the expression to be considered as a string input

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.