RE: how i use 'ã' in python???
Alexandre Motta de Andrade
ama at esss.com.br
Tue Jul 16 13:58:50 EDT 2002
Hi there!
Well, my solution for this problem was UNICODE. Python has a
good support for UNICODE characters and with them you can use brazilian
'accents' and any other special character from other languages too.
There is a nice UNICODE and CODECs tutorial in this link:
http://www.reportlab.com/i18n/python_unicode_tutorial.html
Good luck!
[]'s
ama
Alexandre Motta de Andrade
Software Developer - ESSS
ama at esss.com.br
-----Original Message-----
From: python-list-admin at python.org [mailto:python-list-admin at python.org]
On Behalf Of Florian Eggenberger
Sent: Tuesday, July 16, 2002 12:02
To: python-list at python.org
Subject: Re: how i use 'ã' in python???
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.
--
http://mail.python.org/mailman/listinfo/python-list
More information about the Python-list
mailing list