Is $regsub currently not supposed to be handling unicode at all, even with the /u switch?
(With or without u specified seems to make no difference)
Trying to escape (\) non-alphabet characters in a string with code similar to this one (inside an alias):
var %txt = José the Jalapeño
var %txt2 = $regsub(%txt,/([^a-zA-Z ])/gu,\\\1,%txt)
return %txt
Expected %txt = Jos\é the Jalape\ño
Returned %txt = Jos\Ã\© the Jalape\Ã\±o
I may, of course, be approaching this wrong, so any tips or suggestions is welcomed.