[Tutor] Problem with IDLE in Windows

Charlie Clark Charlie@begeistert.org
Fri, 07 Sep 2001 11:17:37 +0200


Dear list,

can anyone tell me why this line causes problems when I try to edit the 
file in IDLE under windows? It seems that the ´ is a unicode symbol 
that causes IDLE to throw a unicode -> ascii error and delete the file. 
Does this count as a bug?

content = "some text"
content = content.replace( "'":"´")

Any suggestions for an alternative? I need to replace simple apostrophes 
with something else as they get inserted into an SQL statement which 
subsequently doesn't work if they are kept.

Thanx

Charlie