qq has asked for the wisdom of the Perl Monks concerning the following question:
My company is about to create a site that will gather submissions from a very internationl audience. Each visitor will enter several paragraphs of text.
I'm worried because I don't really know anything about practical character encoding issues. I'd really like all data submitted by users to be utf-8. But can I enforce this? It seems that the accept-charset attribute of the form tag is not widely honoured.
I found a decent overview of the traps at http://ppewww.ph.gla.ac.uk/~flavell/charset/form-i18n.html. I particularly like the 'buzzword' idea, where a string in a hidden field is used to guess what encoding the form was sent it.
So - is there a standard solution to this problem? or several?
thanks, qq
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Text encoding in web form entries
by borisz (Canon) on Feb 19, 2004 at 23:28 UTC | |
by qq (Hermit) on Feb 20, 2004 at 08:51 UTC | |
by borisz (Canon) on Feb 20, 2004 at 09:11 UTC |