in reply to Save form data with decoded URL chars
The problem is that file is saved with URL encoded Swedish letters, even if client is set to ISO 8859-1 and header from server is set to same
How is that a problem ?
save is a CGI.pm serialization method, if you want to read the file again, use CGI.pm's new, and then use param as usual, and decode / encode as usual ( perlunitut: Unicode in Perl#I/O flow (the actual 5 minute tutorial) )
Besides that, you should start writing functions that take arguments, functions that do not operate on global variables, like I already showed you
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Save form data with decoded URL chars
by SerZKO (Beadle) on Aug 08, 2012 at 12:59 UTC | |
by Anonymous Monk on Aug 08, 2012 at 13:16 UTC | |
by SerZKO (Beadle) on Aug 08, 2012 at 13:26 UTC | |
by Anonymous Monk on Aug 08, 2012 at 13:30 UTC | |
by Anonymous Monk on Aug 08, 2012 at 13:40 UTC | |
by SerZKO (Beadle) on Aug 08, 2012 at 14:31 UTC | |
|