'Go from an unicode entry to ASCII Bibtex format without encoding'

def utf8ToBibtex(self, text):

    if (len(text) == 0):
        return ''
    text.replace('\\', '\\\\')
    text = self.resolveEntities(text)
    if self.ascii_bibtex:
        text = self.resolveUnicode(text)
    return self.escapeSpecialCharacters(text)
