removing "bad" characters from title and other tags?


Using vrsn 2.38..

I have some downloads that apparently have tag characters that either my iPod doesn't like, or my Alpine car radio can't display.

I have used the $validate function, but this doesn't seem to clear them out. In at least one case, a copy of the string to MSWord shows them as paragraph marks. (no, I don't know why they are there...)

These show up as squares in mp3tag. But the simple way - copying the bad character into a replace doesn't work because nothing is copied. In any case, I don't want to have to do this with each bad tag - there are too many.

I set Options>tags>mpeg>write>IDv2.3 ISO-8859-1, based on another post, and just re-saved the tags, but this also didn't seem to make any difference.

thanks for any help,


$validate() only removes characters that Windows does not allow in filenames, such as colon, backslash, slash, pipe, etc. All other characters have to be removed manually with $replace() or maybe with a regular expression that replaces everything other than a-z, A-Z and 0-9 with an underscore.