Peter Hansen <pe***@engcorp.com> wrote in news:6f-dnTSTQazBSlvfRVn-
jQ@powergate.ca:
Vittorio wrote: print"""<a href="mailto:%s">""" %(campovalore.encode('iso-8859-1'))
print campovalore.encode('iso-8859-1')
print """</a>"""
It might help if you showed us the output of "repr(x)" where x is the
output of the campovalore.encode('iso-8859-1') part above.
Thanks Peter for replying.
This is an example of the output of repr(x) as you requested:
'carr\xe*@pluto.it'
Results:
link opened from IE6->Outlook: it works
link opened from IE6->Pocomail: it works
link opened from Firefox->Outlook: characters with accent fail
link opened from Firefox->Pocomail: characters with accent fail
It looks like having to do more with Firefox than with Python itself but
maybe someone can help anyway?
vittorio