TheMetalCenter / m4b-mp3-chapters-from-cuesheets

merge audiobooks or podcasts without re-encoding (remuxing only) to single m4b with quicktime/nero chapters or mp3 with id3v2 chapters using cuesheets; also allows for renaming/editing chapters
25 stars 0 forks source link

bat files can't pass files with special language characters #3

Closed TheMetalCenter closed 3 years ago

TheMetalCenter commented 3 years ago

For example,

Alice's Adventures in Wonderland (1).mp3 would not be passed on.

FFmpeg will give an error about file not being found (looks for 'Alice'

TheMetalCenter commented 3 years ago

Exclamation points also not accepted Guards! Guards!.mp3 for example

TheMetalCenter commented 3 years ago

Solved for apostrophe

TheMetalCenter commented 3 years ago

& is also an issue

TheMetalCenter commented 3 years ago

Fixed for & and !

TheMetalCenter commented 3 years ago

Every other usual special character seems to be working, so tentatively closing this until I come across one that doesn't.

TheMetalCenter commented 3 years ago

Well that was fast, language special characters still not working (for example ó). Probably won't fix this, too many to worry about.

TheMetalCenter commented 3 years ago

Added chcp 65001>nul to enforce utf-8 encoding. Solved language character issues and issues with " & ". Conflicts still with " ! " and " ' " so will continue to auto-remove those from filenames.