I work with languages that use Unicode symbols in their placenames. I often receive layers with labels that display incorrectly, but they are messed up in the same way all the time eg: the place name shows Ñ but it should read K̲, or ñ should be k̲.
I have the code for a single find and replace, but I would like to batch find and replace all the problem letters at once. How do I string together several letter replacements?
This is the code I have to replace a single letter:
But I would like it to fix all of these values at once:
replace("Label",'Ñ','K̲') replace("Label",'Ý','X̲') replace("Label",'Ç','G̲') replace("Label",'ç','ɢ̲')
I also need to replace a regular apostrophe ' (U+0027) in the middle of the word word with a right single quotation mark (U+2019) style apostrophe. This is my code that doesn't work: