Normalize path during export
Posted: Thu Oct 30, 2014 4:20 pm
Hi,
I'm frequently using Audacity lables to mark passages which I subsequently automatically export using the File -> Export Multiple functionality. The labels content is oftenmuch phonetic transcription, and accordingly contains numerous non ASCII codepoints. Unfortunately there are still many pieces of software out there which keep running into issues with non-ASCII filenames. So could you please implement a feature to normalize/harmonize/flatten the filenames on export? So for example a label called
ndràngalíilě n̺áʰ‿n̥t̺ɛ̀shɛ́ɹɛ̀
should be exported as a file
07-ndrangaliile na_ntesheɹe.wav
or similar, not
07-ndràngalíilě n̺áʰ‿n̥t̺ɛ̀shɛ́ɹɛ̀.wav
Replacing replaced elements of the string by an underscore could easily create problems with the path length IMHO. Where filename conflicts occur, such could be circumvented by incrementing file names, e.g.
ndràngalíilě n̺áʰ‿n̥t̺ɛ̀shɛ́ɹɛ̀
becoming
and
ndràngalíilě n̺áʰ‿n̥t̺ɛ̀shɛ́ɹɛ́
(where only the last ` was replaced by ´)
becoming
08-ndrangaliile na_ntesheɹe_01.wav
Thanks for the support, and thanks for creating great software
I'm frequently using Audacity lables to mark passages which I subsequently automatically export using the File -> Export Multiple functionality. The labels content is oftenmuch phonetic transcription, and accordingly contains numerous non ASCII codepoints. Unfortunately there are still many pieces of software out there which keep running into issues with non-ASCII filenames. So could you please implement a feature to normalize/harmonize/flatten the filenames on export? So for example a label called
ndràngalíilě n̺áʰ‿n̥t̺ɛ̀shɛ́ɹɛ̀
should be exported as a file
07-ndrangaliile na_ntesheɹe.wav
or similar, not
07-ndràngalíilě n̺áʰ‿n̥t̺ɛ̀shɛ́ɹɛ̀.wav
Replacing replaced elements of the string by an underscore could easily create problems with the path length IMHO. Where filename conflicts occur, such could be circumvented by incrementing file names, e.g.
ndràngalíilě n̺áʰ‿n̥t̺ɛ̀shɛ́ɹɛ̀
becoming
and
ndràngalíilě n̺áʰ‿n̥t̺ɛ̀shɛ́ɹɛ́
(where only the last ` was replaced by ´)
becoming
08-ndrangaliile na_ntesheɹe_01.wav
Thanks for the support, and thanks for creating great software