hi in your connection set this code like: *$db = mysql_pconnect($dbhost,$dbuser,$dbpass)or die('Error connecting to mysql'); mysql_select_db("$dbname",$db); mysql_query("SET NAMES 'utf8'"); * On Thu, Nov 18, 2010 at 10:14 AM, abhishek jain <ejaincom@xxxxxxxxx> wrote: > > > hi > whenever i use a string / chars from other language, apart from english, (a > > select query returning such string from mysql db) my php script outputs > 'Segmentation fault' and exists, > this is not a web but a command line script, any ideas how can i use utf8 > chars, > > pl advice. > > -- > Regards, > Abhishek jain > > > -- Behn00sh Moshtagh --~--~---------~--~----~------------~-------~--~-- [Non-text portions of this message have been removed]