I apologize for the stupid question, I know that the topic has been cheated a hundred thousand times, but I cannot find a mistake here. In mysql, I do not experience such problems, mssql is not my choice, but you need to implement it. Tell me what I'm doing wrong, there is a config.php file that I connect to all scripts as standard. I set the coding by request so
sqlsrv_query($conn,'set names cp1251'); or so:
sqlsrv_query($conn,'SET NAMES utf8'); where $ conn is the connection to the server. But both options do not help. Everything would be fine, but when outputting from MSSQL, question marks are displayed in the browser, instead of Cyrillic. Google, that it is necessary to specify in MSSQL to a kajdy column
COLLATE Cyrillic_General_CI_AS Actually all the columns put down, but the question marks at the conclusion does not disappear.
varchar? Change tonvarchar. - Yaant