Hello,
i have update from PyScripter 3.6.1 to 4.1.1.1.0 on Windows 10 64bit.
It worked fine with PyScripter-3.6.1 and on Windows CommandLine fine.
i use Python 3.6.3 x64.
When i run the example script in PyScripter it was fails.
Example A - worked fine
def main():
print("é")
if __name__ == '__main__':
main()
OUTPUT:
*** Remote Interpreter Reinitialized ***
A
>>>
Example B - fails
def main():
print("é")
if __name__ == '__main__':
main()
OUTPUT:
*** Remote Interpreter Reinitialized ***
and a PopUP Error
External server is not connected.
Please reinitialize or disconnect external interpreter.
Example C - fails
def main():
print("\u0119")
if __name__ == '__main__':
main()
OUTPUT:
*** Remote Interpreter Reinitialized ***
Traceback (most recent call last):
File "<Modul1>", line 17, in <module>
File "<Modul1>", line 13, in main
File "C:\Python36\lib\encodings\cp1252.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\u0119' in position 0: character maps to <undefined>
>>>
And seconed TAB load file "cp1252.py"
----
Example C on CMD worked fine
I:\Test>python "Test unicode.py"
ę
I:\Test>
----
is this a wrong configuration or a bug in PyScripter 4.x?
Please help me.
Karlsson