def utf(immigrant, xnl=True):
    """Convert to utf-8, and possibly delete new line character.
       xnl means "delete new line"
    """
    if xnl:
        return immigrant.decode('utf-8').strip('\n')
    else:
        return immigrant.decode('utf-8')
