python+ncurses: I can't display accents

Fabrice DELENTE fdelente at mail.cpod.fr
Sat Jan 27 07:51:24 EST 2007


It's solved, it was a locale problem: I put

import locale

locale.setlocale(locale.LC_ALL,"fr_FR.iso8859-1")

at the beginning of the script, and now the 8-bit-chars show up correctly.

Thanks all for your help.

-- 
Fabrice DELENTE



More information about the Python-list mailing list