ID: 35730 Comment by: boonkit at gmail dot com Reported By: liang at saga-city dot com Status: Feedback Bug Type: MSSQL related Operating System: FreeBSD PHP Version: 5.1.1 Assigned To: fmk New Comment:
I also facing the same problem. If using PHP4, PHP5.0.4 or PHP5.0.5, the non-western character from MSSQL can display correctly. If using PHP5.1.1, all character become ??????? FreeTDS version is 0.63 Previous Comments: ------------------------------------------------------------------------ [2005-12-20 10:57:40] [EMAIL PROTECTED] How about a short reproducing script too? ------------------------------------------------------------------------ [2005-12-20 09:43:48] liang at saga-city dot com new FreeTDS(0.64)CVS makes no difference. Both PHP4/PHP5.1.1 call to the same Shared object "libsybdb.so.5" and using the same freetds.conf. It's obvious PHP5.1.1 behaves different. Sorry, I have some production machines to take care for the time being. Will not get back on this issuses shortly. Hopefully the problem will be solved soon. Cheers, ------------------------------------------------------------------------ [2005-12-20 02:41:46] [EMAIL PROTECTED] Please try to upgrade to the latest CVS version of FreeTDS. As I mentioned before all the encoding stuff is handled by FreeTDS. There is no encoding handling in the code for the PHP extension and the code differences between version 4, 5.0, 5.1 and 6.0 of PHP are only related to internal PHP stuff and has nothing to do with how the library is used. ------------------------------------------------------------------------ [2005-12-20 01:37:48] liang at saga-city dot com We have some production machines with PHP5.0.3/FreeBSD5.4/FreeTDS0.62.4 installed, All works great. Now we are setting a clean and new FreeBSD 6.0 system box with only freetds-0.63 mysql5.0-client and apache22 installed. It's obvious testing PHP4/PHP5 installation link to the same freetds library. ------------------------------------------------------------------------ [2005-12-19 18:12:27] [EMAIL PROTECTED] Are you absolutely sure you're linking PHP with the same freetds library as you did with PHP 4? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/35730 -- Edit this bug report at http://bugs.php.net/?id=35730&edit=1