When to use raw_unicode_escape mode
The backslash character is escaped so is written as \\. If you don't want that try the 'raw_unicode_escape' codec.
In the editor here, when answering your question, if I write \\ you see \ in the response so I actually had to write \\\\. Try it yourself to see what I mean (or edit this answer to see what I mean).
This is what I actually had to write above
The backslash character is escaped so is written as \\\\.
If you don't want that try the 'raw_unicode_escape' codec.
In the editor here, when answering your question, if I write \\\\
you see \\ in the response so I actually had to write
\\\\\\\\. Try it yourself to see what I mean (or edit this answer
to see what I mean).
By escaping the backspash the unicode_escape codec guards against problems like that.