dharple / detox

Tames problematic filenames
BSD 3-Clause "New" or "Revised" License
332 stars 19 forks source link

Don't append underscore after deaccented characters? #117

Open rulatir opened 6 months ago

rulatir commented 6 months ago

How can I get detox to only deaccent accented letters, without appending _? I'd rather have "łódź" converted to "lodz" than "l_odz"; the latter is arguably more "toxic" than the original.

Must I learn how to code my own "sequence" or "translation table" for this?

EDIT: Those were combining diacritics! What is the simplest way to add a rule to strip those? (for v1)