import unicodedata
import re


def slugify(value):
    """Given an arbitrary string, turn it into an acceptable slug

    >>> slugify('')
    ''
    >>> slugify('Hey folk$ what up? \t\t')
    'hey-folk-what-up'
    >>> slugify('CRAZY \u1234 String')
    'crazy-string'
    """
    value = unicodedata.normalize("NFKD", value).encode("ascii", "ignore").decode("utf8")
    value = str(re.sub(r"[^\w\s-]", "", value).strip().lower())
    value = str(re.sub(r"[-\s]+", "-", value))
    return value