-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Hi,
I want to add chapters with Polish characters in it (żółćęśąźń). Unfortunately when I do it using mp3chaps it becomes garbled, probably some issues with proper character conversion.
I attached a txt file and mp3 file disguised as txt, as mp3 upload is not permitted but it is a tiny 10 seconds mp3 file that has less than 100kB.
I based my report on #6 because it was a very well formed bug report.
When Polish characters are added to the test.chapters.txt file (where test is the name of the mp3), and the mp3chaps -i test.mp3 is used, all Polish characters become garbled in the chapter text.
Steps to recreate
- Create a valid mp3 file called
test.mp3 - Create a text file called
test.chapters.txt - Insert the following line into the text file:
00:00:00.000 żółćęśąźń00:00:09.000 zolcesazn
- Run the following command:
mp3chaps -i test.mp3
Full output from result
λ mp3chaps -l test.mp3
Chapters:
żółćęśąźń
zolcesaznExpected result
test.mp3 should have a two chapter markers called żółćęśąźń and zolcesazn, and running mp3chaps -l test.mp3 should show:
λ mp3chaps -l test.mp3
Chapters:
żółćęśąźń
zolcesaznMachine details
- Windows 10 (build number: 19041.450)
- mp3chaps vLatest from pip3 (at time of reporting)
- Python 3.8.5
Metadata
Metadata
Assignees
Labels
No labels