def console_repr(e):
    s = "%s %s " % (e.time, {'server': '|', 'mark2': '#', 'user': '>'}.get(e.source, '?'))
    if e.source == 'server' and e.level != 'INFO':
        s += "[%s] " % e.level
    elif e.source == 'user':
        s += "(%s) " % e.user
    
    s += "%s" % e.data
    return s

def console_repr(e):
    s = u"%s %s " % (e.time, {'server': '|', 'mark2': '#', 'user': '>'}.get(e.source, '?'))
    if e.source == 'server' and e.level != 'INFO':
        s += u"[%s] " % e.level
    elif e.source == 'user':
        s += u"(%s) " % e.user
    
    s += u"%s" % e.data
    return s

fix unicode representation of a Console event