zohab Posted December 2, 2007 Share Posted December 2, 2007 hi all In my application i am getting data in following format data=>"d9a1d9a1" $msg="d9a1d9a1"; i am converting it into its equivalent format. i am using $s=pack("H*", $msg); to pack data then mssql_query("SET NAMES 'cp1256'"); mssql_query("SET CHARACTER SET 'cp1256'"); inseting $s value in database but i am not getting proper data any ideas? Quote Link to comment https://forums.phpfreaks.com/topic/79832-mssql_queryset-names-cp1256-and-mssql_queryset-character-set-cp1256/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.