how i use 'ã' in python???

Florian Eggenberger florian.eggenberger at o-x.ch
Tue Jul 16 11:02:08 EDT 2002


jubafre at zipmail.com.br wrote:
> i´m brazilian, and in my laguage(Portguese) there are many other caracters
> how á, ã, â and a string in python doesn´t support this
> how i can use??? have a import module for this???
> 
> BRASILEIROS DA LISTA COMO VCS CONSEGUEM USAR ACENTO NO PYTHON??
> 
> for exmple:
> s='ã'
> doesn´t work?why??
> 
> 
> Juliano Freitas
> www.gebrasil.hpg.com.br
> 
> 
> 
> ------------------------------------------
> Use o melhor sistema de busca da Internet
> Radar UOL - http://www.radaruol.com.br
> 
> 
> 
> 
> 

It's the same problem in german.
i think it is not possible in the IDLE.
i used hexcodes in the string to "solve" the problem.

example:
'\xE4\xF6\xFC\xC4\xD6\xDC]'
-> ÄÖÜäöü

not very good but it works for me.




More information about the Python-list mailing list