import unicodedata
import re


def slugify(string):

    """
    Slugify a unicode string.

    Example:

        >>> slugify(u"Héllø Wörld")
        u"hello-world"

    """
    sub = unicodedata.normalize('NFKD', string)
    return re.sub('[-\\s]+', '-', re.sub('[^\\w\\s-]', '', sub)
                  .strip()
                  .lower())