getting rid of —

someone petshmidt at googlemail.com
Wed Jul 1 18:05:37 CEST 2009


Hello,

how can I replace '—' sign from string? Or do split at that character?
Getting unicode error if I try to do it:

UnicodeDecodeError: 'ascii' codec can't decode byte 0x97 in position
1: ordinal not in range(128)


Thanks, Pet

script is # -*- coding: UTF-8 -*-



More information about the Python-list mailing list