2

I want to use unicode symbols in a QGIS label - is this supported? I.e. I have this expression for labelling a line:

case when xat(-1) - xat(0) > 0 then
  'GF ->' 
else
  '<- GF'
end

and want to replace the '->' and '<-' with the unicode characters representing left and right arrows.

Is there a way I can achieve this?

5

You can use Unicode in your expressions for any label. Just copy and paste your Unicode character, in any way you like, in your code:

enter image description here

And here's the result:

enter image description here

| improve this answer | |

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.