SQLSRV is the only driver for PHP that is capable of storing UTF-8 strings into two-byte columns (NVARCHAR
instead of VARCHAR
) which is currently maintained and supported by Microsoft for PHP 5.2.X and 5.3.X.
And I also got the link for downloading these drivers Linux SQLSRV driver download for linux but I could not configure.
If someone has got idea how to configure the sqlsrv driver on linux or has some other alternative to retrieve the data from SQL server in UTF-8 format, please share.