I need to encode/convert a Unicode string to its escaped form, with backslashes. Anybody know how?
You can directly use unicode characters if you just add #Encoding: UTF-8 to the top of your file. Then you can freely use ä, ǹ, ú and so on in your source code.
#Encoding: UTF-8