Re: utf-8 in $_POST

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

 



you don't have to have your files in utf-8 for it to work, just thebrowser header.
although any utf-8 characters in your files will look funky. it justdepends where the content comes from... you could always use ®for the (r) registered symbol for example.
i'd be more apt to figuring out how to make things work under utf-8than trying to force something from utf-8 back to iso-8859-1...personally :)
On 1/16/08, Olav Mørkrid <olav.morkrid@xxxxxxxxx> wrote:> the user agents in question are various mobile phones, which as you> might guess are premature technology and have their own ways with> things.>> here is an example posting from a Samsung D600 which insists on> posting form data in UTF-8 even though i serve it ISO-8859-1 and it> claims to support all character sets.>>    [_POST] => Array>        (>            [message] => Norwegian characters: øá>        )>>    [_SERVER] => Array>        (>            [HTTP_ACCEPT_CHARSET] => *>            [CONTENT_TYPE] => application/x-www-form-urlencoded; charset=utf-8>            [HTTP_USER_AGENT] => SAMSUNG-SGH-D600E/1.0> Profile/MIDP-2.0 Configuration/CLDC-1.1 UP.Browser/6.2.3.3.c.1.101> (GUI) MMP/2.0>        )>> i would consider switching to utf-8 if i knew how make the windows> version of emacs work fine with utf-8 text files (and still work with> iso-8859-1 files as well).

[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