Re: Re: IE6 not returning POST data from a textarea

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

 



On Mon, Dec 12, 2005 at 08:33:40PM -0500, Al wrote:
> Al wrote:
> >Anyone know to get IE6 to return POST data from a textarea when the text 
> >is pasted in?
> >
> >Works fine for Mozilla, etc.
> >
> >print_r($_POST) shows several <input...> and <text  ...> values just fine.
> >
> >Thanks....
> 
> 
> For those interested, here is the answer...
> 
> Text pasted into a textarea [e.g., from Word] can have characters not 
> defined in IE's textarea ISO-8859-1 charset.
> 
> Appearently, IE6 has a bug such that it does not send the POST value for 
> the textarea name when some of these are present.  [e.g., "�" char [hex 
> 85]] I don't know how many.
> 
> You can get it to work by right-mouse selecting Encoding UTF-8 on the 
> client browser or use in the html header:
> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" >

This is a good point. I would even go further and to have all php
files output in charset utf-8 by setting the ini setting:

  default_charset=UTF-8

Curt.
-- 
cat .signature: No such file or directory

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux