omission9 wrote: > I have a text file which contains the occasional non-ascii charcter. > What is the best way to remove all of these in python? Here's a simple example that does what you want: >>> orig = "Häring" >>> "".join([x for x in orig if ord(x) < 128]) 'Hring' -- Gerhard