In this case, use string.byte(string)(other parameters only for focusing parts of the strings). I’m not entirely sure what the bytes translate to but maybe it’s the standard ASCII.
That only works on one letter at a time. 116 is the decimal representation of the ASCII letter “t”
If you just want backslash codes, you can use \116 to represent t. If you need Unicode, you should be able to look up a chart for it and do the conversions manually with a table. If you’re doing this to obfuscate your scripts, don’t do it this way.
The problem is that whole backslash notation thing doesn’t support true Unicode. Fancy Unicode symbols such as Ԙ won’t work. I’m not sure how to make that work either, since \u isn’t a thing.
Do you really need full Unicode support? If so, you won’t be able to use the backslash notation.