Re: Python encoding

2008-08-19 Thread Joan Pallarès
Sorry, The problem is the OblecjtListView doesn't show some characters correctly. In the image attached, in the "partidos list" in the grey line, where a square is showed it must be a Ç And in the second line where a | is showed it should be a ª Why this happen? maybe OLV doesn`t manage well the

Python encoding

2008-08-18 Thread Joan Pallarès
I have problems encoding some team names. Python can't work with: ª, é, ç. I tried to create unicode in this two ways: self.nombreLocal = unicode(nombreLocal) self.nombreLocal = unicode(nombreLocal, 'iso-8859-1') But there is always one character that can't be encoded!! unicode doesn`t enco

Backtracking problem

2008-07-18 Thread Joan Pallarès
Hi, In my first message in the list I'm going to ask you to solve this problem or at least help me to solve it by myself: We have a list a couples created this way: *parejas = [(1, 'a'), (1, 'b'), (1, 'c'), (1, 'd'), (2, 'a'), (2, 'b'), (2, 'c'), (3, 'a'), (3, 'b'),