in reply to Re^3: Confusing UTF-8 bug in CGI-script
in thread Confusing UTF-8 bug in CGI-script

The CGI object only reads from STDIN during initialisation. Anything you do to STDIN later won't affect the CGI object.
  • Comment on Re^4: Confusing UTF-8 bug in CGI-script