While asking this question, I realized I didn't know much about raw strings. For somebody claiming to be a Django trainer, this sucks.
I know what an encoding is, and I know what u''
alone does since I get what is Unicode.
But what does r''
do exactly? What kind of string does it result in?
And above all, what the heck does ur''
do?
Finally, is there any reliable way to go back from a Unicode string to a simple raw string?
Ah, and by the way, if your system and your text editor charset are set to UTF-8, does u''
actually do anything?