How do I paste from powershell so that the encoding is utf-8 into Kate Editor?

60 views Asked by At

When I copy some multiline text from powershell in windows 10 into Kate, placing it in a multi-line comment in a Python script, and then try to run the same script again; I get an error :
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 228-229: truncated \UXXXXXXXX escape

0

There are 0 answers