-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi there,
I'm using the following method in my program to check whether a message
received is printable or not and to strip the non-printable characters:
CheckPrintable( self,message):
printablemessag e = ""
for char in message:
if char in string.printabl e: printablemessag e = printablemessag e +
char
return printablemessag e
The method is working fine, except in one detail, it's also stripping
the accented letters which I didn't want to happen. Is there a
string.printabl e declaration which contains accented letters? Thanks in
advance. If you can, please reply to my email.
- --
Best Regards,
Daniel Alexandre ( df****@student. dei.uc.pt )
PGP Public Key: http://student.dei.uc.pt/~dfcruz/pubring.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iD8DBQFCNv94L3+ DjgQV3LgRAk0yAK DN5lzrXqsVY5zgv ZD2X3oGtWS5IwCc CtsA
qv5d+KGP3n9Gbx0 iUm46f/k=
=sw9h
-----END PGP SIGNATURE-----