There's more than one way to do things | |
PerlMonks |
Re^2: Encode/Decode Problemby macPerl (Beadle) |
on Mar 04, 2005 at 17:11 UTC ( [id://436652]=note: print w/replies, xml ) | Need Help?? |
Joost, Jedi, et al Reason for not using CGI is due to lack of experience when starting this project ... (kindof guessed I was inviting these comments). Right now it is late Friday pm and I would love a solution - if nothing else it will help fill in gaps in my understanding. The charset of the form is ISO-8859-1. I did try UTF-8, but was just stabbing in the dark. Don't understand character encoding ... most discussions (incl W3C HTML4 Spec) refer to docs going from server to browser and how User Agents handle docs. On Form Submission (i.e. going from Browser to Server), I did come across some discussions on how to "steer" the server in the right direction with a hidden field (nice one borisz), but don't think it is applicable in this situation A lot of other info indicates that what has been proposed for determining/specifying character sets when submitting a form is at best patchily implemented. Will have another test of Encode and see how it goes ... only tested coding to utf-8 !
In Section
Seekers of Perl Wisdom
|
|