non standard characters cause program to end : I learning python for data mining and I have a text file that contains a list of world cities and their coordinates. In my code, I am trying to find the coordinates of a list of cities. All works well until there is a name with non-standard characters. I was expecting that the program will skip that city name and move to the next, but it terminates. How to make the program skip names that it cannot find and continue to the next? 

    lst = ['Paris', 'London', 'Helsinki', 'Amsterdam', 'Sant Julià de Lòria',    'New York', 'Dublin']

    source = 'world.txt'
    fh = open(source)

    n = 0

    for line in fh:
        line.rstrip()
    
        if lst[n] not in line:
            continue

        else:
            co = line.split(',')
            print lst[n], 'Lat: ', co[5], 'Long: ', co[6]

            if n < (len(lst)-1):
                n = n + 1
            else:
                break

The outcome of this run is:

    >>> 
    Paris Lat:  33.180704 Long:  67.470836

    London Lat:  -11.758217 Long:  17.084013

    Helsinki Lat:  60.175556 Long:  24.934167

    Amsterdam Lat:  6.25 Long:  -57.5166667

    >>>