I am trying to retrieve data from an MSSQL Server using PHP and I have issues displaying the Greek characters. I found a similar issue but there is no correct answer to it. I am connecting to my DB with mssql_connect and not with sqlsrv_connect as mentioned in the post above.
I also tried
mssql_query("SELECT CONVERT(VARCHAR(MAX),CONVERT(VARBINARY(MAX),name))AS x FROM customers
with
mb_detect_encoding($row['x'], mb_detect_order(), true) === 'UTF-8' ? $row['x'] : mb_convert_encoding($row['x'], 'UTF-8');
that I found somewhere else but I am still getting ??????? instead of greek chars. Any idea?