robinbowes / flac2mp3

flac2mp3 is a tool to convert audio files from flac to mp3 format including the copying of tags.
GNU General Public License v3.0
142 stars 29 forks source link

Fixes #25 - Escape special characters in filename. #37

Closed bobduke closed 9 years ago

bobduke commented 10 years ago

Allows the script to handle filenames containing slashes, spaces, dollar signs, double quotes, and single quotes.

Related discussion in #25.

Tested by @djjeck

schmerg commented 10 years ago

I'd point out this doesn't fix back quotes (I gave a couple of examples in my original message). My original example code in #25 showed how to fix this for all "non-normal" chars on the basis that I couldn't remember the precise list of "special chars" needed...

robinbowes commented 9 years ago

Can you try the code in the develop branch: https://github.com/robinbowes/flac2mp3/tree/develop ?

I believe it should fix all issues.