New submission from Mihail Kirilov <[email protected]>:
I have a file with a Cirilyc name - "Файл на български", which when I load with
path.Path and call name on it behaves differently
```
(Pdb)
pathlib.Path("/tmp/pytest-of-root/pytest-15/test_bulgarian_name0/data/encoding/Файл
на български.ldr").name
'Файл на български.ldr'
(Pdb)
pathlib.Path("/tmp/pytest-of-root/pytest-15/test_bulgarian_name0/data/encoding/Файл
на български.ldr").name[2]
'и'
(Pdb)
pathlib.Path("/tmp/pytest-of-root/pytest-15/test_bulgarian_name0/data/encoding/Файл
на български.ldr").name == "Файл на български"
False
```
----------
components: Unicode
messages: 382823
nosy: ezio.melotti, hidr0.frbg, vstinner
priority: normal
severity: normal
status: open
title: Pathlib does not support a Cyrillic character 'й'
type: crash
versions: Python 3.8
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue42614>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com