From: filip at curious dot be Operating system: Windows 2000 SBS PHP version: 4.3.1 PHP Bug Type: MSSQL related Bug description: Charset problem
Hello. I am experiencing some kind of charset problem. I try to insert a string like "� � �" into a field of a table on a MS SQL Server 2000, and when I use its query analyzer to check it; the string "� � �" was inserted by that query. (using the function mssql_query) Although I explicitely added the iso-8859-1 support in the php.ini, and even in the apache's configuration file; it does not make any difference. I have even tried functions like rawurlencode, htmlentities, htmlspecialchars but none of them result into what I desire. The weird part is; those same characters are displayed correctly when fetching them with a plain select statement. The Windows 2000 Small Business Server is natively installed with Belgian locales; which supports these characters. I posted everything into detail on news.php.net in php.i18n under subject "charset problem" but apparently nobody has a clue. -- Edit bug report at http://bugs.php.net/?id=22938&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22938&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22938&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22938&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22938&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22938&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=22938&r=support Expected behavior: http://bugs.php.net/fix.php?id=22938&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=22938&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=22938&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22938&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22938&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22938&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22938&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=22938&r=gnused
