Charset problem in a WxApp (solved)

I don麓t think that is the best solution, but I encode each register
before to sent it to the db

register = register.encode('utf-8')

And so on, the thing works!

I can see " T铆o" :slight_smile:

Thanks a lot!.

Regards

路路路

On 09/06/07, Robin Dunn <robin@alldunn.com> wrote:

Then it's not coming out of the DB as utf-8. You'll need to find out
what encoding it is and use that one to convert to unicode.

--
Javier Castrillo

=========================================================
GNU / Linux User #242275

-------------------------------
pub 1024D/B482896F 2006-09-04
uid Javier Castrillo (El Palo) <riverplatense@gmail.com>
sub 2048g/52C99A4E 2006-09-04

Clave p煤blica: carapa.com.ar/public.asc
http://carapa.com.ar
http://javiercastrillo.com.ar
http://riverplatense.googlepages.com

Us谩 Software Libre