Normalizing unicode text to filenames, etc. in Python

前端 未结 5 1019
情书的邮戳
情书的邮戳 2021-02-01 05:42

Are there any standalonenish solutions for normalizing international unicode text to safe ids and filenames in Python?

E.g. turn My International Text: åäö

5条回答
  •  不思量自难忘°
    2021-02-01 06:35

    I'd go with

    https://pypi.python.org/pypi?%3Aaction=search&term=slug

    Its hard to come up with a scenario where one of these does not fit your needs.

提交回复
热议问题