httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From svz <>
Subject Re: [users@httpd] HTTP_ACCEPT_CHARSET set when form is posted to cgi
Date Sun, 24 Apr 2005 10:41:20 GMT
Nick Kew wrote:

>Accept-Charset comes from the browser.  You don't set it, you respond
>to it in the server (including CGI scripts).  You can't just go
>making up charsets and assuming the browser will support them.
sorry Nick - i should have been clearer (more detailed about the problem),

basically, i am trying to submit a form (from utf-32BE encoded web page) 
to a cgi binary (via apache of course).

the loading of page which contains the form by browser is absolutely 
fine (once again the browser gets the page via apache).

but whenever i submit the form - on cgi end, there are problems 
(content_length for example does not reflect any of the contents that i 
might type in form fields - i am not uploading any files at the moment - 
just having a textarea control...), reading from stdin also does not 
reflect the length of contents typed in (i.e. it ends too quickly)

form enctype is multipart/form-data and method is post...

i think you are right though - it may be the browser problem altogether...

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message