what i read.. i conclusion. whenever the data is.. is always latin1 right?? if the data seem give strange type (example like japanese font).. it will stay on latin1 or change into apropriate data On 2/1/07, Niel Archer <niel@xxxxxxxxxxxxx> wrote:
Hi all Finally identified the problem. Was pretty obvious in retrospect. The mysqli class (Improved MySQL extension OO style) defaults to latin1 as a character set, regardless of what PHP is using. Simple solution is to use the set_charset method (mysqli_set_charset for non OO) on the object, which will change the connection parameter. Niel -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
-- akan ada dimana mulut terkunci dan suara tak ada lagi.. saat itu gunakanlah HP untuk melakukan SMS!! -> ini aliran bedul.. bukan aliran aneh. tertawa sebelum tertawa didepan RSJ.. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php