Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Polish characters are garbled #7

Open
SimplexPL opened this issue Aug 31, 2020 · 1 comment
Open

Polish characters are garbled #7

SimplexPL opened this issue Aug 31, 2020 · 1 comment

Comments

@SimplexPL
Copy link

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:
żółćęśąźń
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

@SimplexPL
Copy link
Author

Any chances on looking into this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant