t-markmann / nc-userimporter

This tool creates Nextcloud users from a CSV file, which you exported from some other software or created with a spreadsheet software.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature-Request: Automatically replace unsupported characters with other characters

Shen opened this issue · comments

When generating usernames, unsupported characters should be converted automatically.

Something like that:

mapping = {ord(u"ü"): u"ue", ord(u"ö"): u"oe", ord(u"ß"): u"ss"}
line = u"Sören Flüß"
print line.translate(mapping)
Soeren Fluess

Maybe this is a solution for you?
Shen@c4e93a2

Feature added:
ef0f415