I have problem with cyrillic characters. Here is image that shows how i have setup everything https://i.stack.imgur.com/UHssn.jpg . As you can see everything is as UTF-8, but still cyrillic characters come out from server as questionmark diamonds. I used mb_detect_encoding -function and it said that those diamonds are as UTF-8 encoding.
When i run then through bin2hex, it gives this:
1100 - cccdcec3ced1cbcec9cdc0df20cac5d0c0ccc8cac0
1200 - d2cecbd1d2cecfcbc5cdced7cdc0df20cac5d0c0ccc8cac0
1300 - c1cecdc4c8cdc32fcdc0cdc5d1c5cdc8c520ddcfcecad1c8c4cac8
1400 - d3d1d2c0cdcec2cac020cad0c8d1d2c0cbcbcec2
1500 - d3d1d2c0cdcec2cac020cfd0cec2cec4cec2
1600 - c1cecdc4c8cdc32fc8cdcac0cfd1d3cbdfd6c8df
And the problem is ONLY with data that comes out from MSSQL server. Other cyrillic language data that comes from php lang files shows right. What could be causing this?