@UNSAFE — Replaces “safe” characters in a string with potentially dangerous ones.

Syntax:
%@UNSAFE[text]

textText, possibly containing “safe” characters

I do not recommend the use of this function. The returned value may contain ampersands, pipes, redirection operators, or who-knows-what. If you decide that you must use it, I strongly recommend wrapping it in double quotes to limit the carnage.

set test="%@unsafe[%test]"


Note: All characters in the range U+FF00 through U+FF5F will be remapped to ASCII equivalents.