Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: slugify #42

Closed
Ginden opened this issue Jul 21, 2021 · 1 comment
Closed

Feature request: slugify #42

Ginden opened this issue Jul 21, 2021 · 1 comment

Comments

@Ginden
Copy link

Ginden commented Jul 21, 2021

Three problems:

  • certain programs break when confronted with file names containing non-ASCII (this is especially visible for Windows - eg. username Michał will lead you in trouble, because some files will end in C:\Users\Micha\ and others will end in C:\Users\Michał\)

  • certain programs break when confronted with file names containing colons (it breaks Windows on OS level and causes trouble for rsync) or spaces (these are just poorly written).

My suggestion is to provide way to normalize file names - using algorithm similar to eg. slug.

@qarmin
Copy link
Owner

qarmin commented Jul 26, 2021

Normalizing names I implemented in #47

This is only an option and users may do whatever they want with files(if they want to have colons or spaces in names I won't stop them since this is not my data).

I'm using slugmin my fork of slug-rs library which allows to use _, (space ) and ., since I think this characters are useful(anyone can use replace rule to remove them).

@qarmin qarmin closed this as completed Jul 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants