Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] utf form problems



Edward Middleton wrote:
> # wget --server-response http://your-url/
> 
> Will show you what headers are set.  You may need to fake the user
> agent[1] using the --user-agent option if wget is blocked.
> 
> Edward

Hi Edward.  Thanks for the link and the info.  This is
interesting...

When I just do the wget --user-agent on my ISP, I get back:
  Content-Type: text/html

But when I do it on my cgi I get back:
  Content-Type: text/plain charset=utf-8

So my script is setting the charset right for it's output.
And the index.html that my server sends is in just
text/html.   Marty Pauley showed me how to test the
encode/decode and it looks like the input to the script is
ok.  But something isn't right because I'm getting mojibake
back from the script.  It feels like I'm closer.

Steve S.


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links