ascii to latin1

Luis P. Mendes luis_lupe2XXX at netvisaoXXX.pt
Mon May 8 20:04:58 EDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I'm developing a django based intranet web server that has a search page.

Data contained in the database is mixed.  Some of the words are
accented, some are not but they should be.  This is because the
collection of data  began a long time ago when ascii was the only way to go.

The problem is users have to search more than once for some word,
because the searched word can be or not be accented.  If we consider
that some expressions can have several letters that can be accented, the
search effort is too much.

I've searched the net for some kind of solution but couldn't find.  I've
just found for the opposite.

example:
if the word searched is 'televisão', I want that a search by either
'televisao', 'televisão' or even 'télévisao' (this last one doesn't
exist in Portuguese) is successful.

So, instead of only one search, there will be several used.

Is there anything already coded, or will I have to try to do it all by
myself?


Luis P. Mendes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEX9yqHn4UHCY8rB8RAovDAJ90vllWjxfXN5bnNvg0OCKadbrfnwCfb4Hp
2jmRFyNYySukPwYACJ1TdM8=
=hTr3
-----END PGP SIGNATURE-----



More information about the Python-list mailing list