In the python 2.7 console, as well as iPython 4, I was able to paste this string into a variable like so:
In [2]: c = 'ÙjÌÉñõµÏ“JÖq´ž#»&•¼²nËòQZ<_'
Subsequently I could type:
In [3]: print(c)
and it would return ÙjÌÉñõµÏ“JÖq´ž#»&•¼²nËòQZ<_
However, in iPython 5.0, I get the following error:
In [4]: c = 'ÙjÌÉñõµ^LÏ“JÖq´ž#»&•¼²nËòQZ<_'
File "<ipython-input-4-9bf9f2fa5210>", line 1
c = 'ÙjÌÉñõµ
^
SyntaxError: EOL while scanning string literal
Even %paste
returns an error:
ÙjÌÉñõµ
^
SyntaxError: invalid syntax
What changed in iPython from 4 to 5, and why is this occurring? Something to do with the string not having escaped quotes?