Force only ascii (single byte 1-127) characters in filenames and tags
Hello -
I'm just starting out with dbpa and I have a cd with non-ascii characters in album and track titles. I want everything to be plain ascii so it is consistent to search on.
Is there a way to do this in dppa? I haven't been able to find a setting to do this.
Thanks!
Re: Force only ascii (single byte 1-127) characters in filenames and tags
Sorry no option, there is no easy conversion, if you had non-ascii chars it they would likely convert to '?' which is not that useful.
Re: Force only ascii (single byte 1-127) characters in filenames and tags
Thanks for the reply.
Looks like I'll write a utility to convert the obvious things (remove accent marks, etc) and then do the rest by hand.
Re: Force only ascii (single byte 1-127) characters in filenames and tags
You might find something in this thread useful:
[url]https://stackoverflow.com/questions/10054818/convert-accented-characters-to-their-plain-ascii-equivalents[/url]
Re: Force only ascii (single byte 1-127) characters in filenames and tags
Thanks for the link.
I can start off with the common letters and add to the list as I come across new ones.
This is only an issue with some classical cd's that have album and track names in non-English languages.
It should make searching easier since I'd never remember which letters had accents and I can use the standard plain letters.
Re: Force only ascii (single byte 1-127) characters in filenames and tags
[QUOTE=RogerW;203850]I can start off with the common letters and add to the list as I come across new ones.
This is only an issue with some classical cd's that have album and track names in non-English languages.
[/QUOTE]
I've had a huge problem with a variety of diacritics / accent marks in filenames. So I created a full set of character replacements. This won't affect content inside tags, but can help with actual filenames.
Here's the forum post about it: [url]https://forum.dbpoweramp.com/showthread.php?46546-Solutions-for-Replacing-Accent-Marks&p=204159*post204159[/url]
Here's the separate instructions page: [url]https://gist.github.com/brandonjp/443a7378711f681f0bd0700aeef3cb3d[/url]
Re: Force only ascii (single byte 1-127) characters in filenames and tags
Thanks for the info (sorry for the late reply).
I wound up writing a program to process the flac files and remove all accent marks and other 'combining characters'.
It was some work but doesn't need a table and catches everything that's not a plain letter.