I am trying to write a program to generate a file that simply removes all
the punctuation marks from the input file.
for the usual ascii characters like .,'?!" it works. but then when I try to
do the same for the hindi fullstop (similar to |). it gives me an error
saying:
SyntaxError: Non-ASCII character '\xe0' in file punc_remover.py on line 16,
but no encoding declared
I am using UTF-8. But how do I indicate that to the interpretter
_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to