11 May
2001
11 May
'01
2:43 p.m.
I want to "filter" the user input a bit. If somebody submits name="éèà", in the end I want: name="eea" So I tried this: <pseudo atr="filling in the input name='é'"> print self.REQUEST['name'], 'é' print self.REQUEST['name'] == 'é' </pseudo> This returns '\303\251', 'é' 0 Basically, how do I compare self.REQUEST['name'] with 'é' and get true? (assuming the name variable is set to "é". (you understand what I mean) Any hints of the right approach? Peter