Andras,
Well once we have a proper "use", we should be able to set the encoding at compile time. But until then, I see a few possible options:
- setting the url encoding forces a re-encoding of any parameters already encoded.
This means extra work if you change the encoding, but it will only happen once.
- moving the decoding process to be "on demand" when fetching the params
This would slow do the param() function, but would mean you only decoded exactly what you needed and nothing more.
Either one is a simple change.
- Stevan
On Apr 18, 2005, at 5:16 AM, BÁRTHÁZI András wrote:
Hi!
This is the code:
use CGI; set_url_encoding('utf-8');
The problem is that "use CGI" automagically initializes the parameters *before* I set the encoding of them, so set_url_encoding will run too late.
Any idea?
Bye, Andras