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:
Full output from result
λ mp3chaps -l test.mp3
Chapters:
żółćęśąźń
zolcesazn
Expected 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:
żółćęśąźń
zolcesazn
Machine details
- Windows 10 (build number: 19041.450)
- mp3chaps vLatest from pip3 (at time of reporting)
- Python 3.8.5
test.chapters.txt
test.mp3.txt
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.txtfile (wheretestis the name of the mp3), and themp3chaps -i test.mp3is used, all Polish characters become garbled in the chapter text.Steps to recreate
test.mp3test.chapters.txt00:00:00.000 żółćęśąźń00:00:09.000 zolcesaznmp3chaps -i test.mp3Full output from result
Expected result
test.mp3should have a two chapter markers called żółćęśąźń and zolcesazn, and runningmp3chaps -l test.mp3should show:Machine details
test.chapters.txt
test.mp3.txt