Serhiy Storchaka added the comment:

Indeed, the name that looks as ASCII actually contains non-ASCII characters.

>>> print(ascii('LKC.6558‐100‐HD‐P‐101_C.xlsx\n'))
'LKC.6558\u2010100\u2010HD\u2010P\u2010101_C.xlsx\n'

Martin suggests correct solution.

----------
nosy: +serhiy.storchaka
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed
type: crash -> behavior

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23543>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to