[issue28246] Unable to read simple text file

2016-09-22 Thread AndreyTomsk
AndreyTomsk added the comment: Thanks for quick reply. I'm new to python, just used tutorial docs and didn't read carefully enough to notice encoding info. Still, IMHO behaviour not consistent. In three sequential symbols in russian alphabet - З, И, К, it crashes on И, and displays other

[issue28246] Unable to read simple text file

2016-09-22 Thread AndreyTomsk
New submission from AndreyTomsk: File read operation fails when gets specific cyrillic symbol. Tested with script: testFile = open('ResourceStrings.rc', 'r') for line in testFile: print(line) Exception message: Traceback (most recent call last): File "min_test.py&quo