I am little trouble in my work. I am working on sql server database and I have access only for fetching data from views.
Now, the database contains some information in other language like Ukrainian. So, when I am fetching data using select query and print it on browser then it is showing me question mark (??) instead of actual data.
My query is given below:
select * from view1;
And the output is something like below:
Please look at the question mark.
Previously I was using the sqlsrv_connect() function to connect with sql server database and this function allows you to set character set (UTF-8) for your work. But the client server is on linux, I have to use mssql_connect() and this function doesn't have any option to set character set.
When I was setting the character set as "UTF-8" then, select query was showing actual data. But, I will do in case of mssql_connect() function.
Is there any collation set to handle this kind of situation? or any other way to change the character set before executing select statement.
Please help me on this issue. I am really frustated. Thanks in Advance