I encode a "pound sign" which as a parameter which indicates whether content is UTF-8, UCS or latin-1 - and this seems to resolve most of the issues... I did take a lot of effort to fix issues with utf8 and there are a lot of these - between form -> post; between requests if storing data in sessions; between script and database; etc...

I do however not use CGI.pm but use APR instead which I know works (and may be less error prone)

James

---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com



--
The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE.

Reply via email to