<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def slughifi(value, overwrite_char_map={}):
 """ High Fidelity slugify - slughifi.py, v 0.1 Examples : 'cest-deja-lete' 'c-est-deja-l-ete' "C'est deja l'ete." # Normal slugify removes accented characters 'cest-dj-lt' """


    # unicodification
    if type(value) != text_type:
        value = value.decode('utf-8', 'ignore')

    # overwrite chararcter mapping
    char_map.update(overwrite_char_map)

    # try to replace chars
    value = re.sub('[^a-zA-Z0-9\\s\\-]{1}', replace_char, value)

    value = slugify(value)

    return value.encode('ascii', 'ignore').decode('ascii')