Answer the question
In order to leave comments, you need to log in
How to correctly assign encoding in mssql query?
From a site I transfer request in MSSQL, and I interpose a variable into parameter. If the parameter is numeric, then the answer comes
there is also Cyrillic (ab123), then he does not understand the upaor. How to change the encoding when sending a request so that it eats?
Answer the question
In order to leave comments, you need to log in
Tupanul. As they say, a good question has half the answer.
$name = iconv('UTF-8','CP1251',$data);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question