Special character in SQL Server -


i using sql server , need search

where lastname '$pname%'   $pname = "eugène%";   

this returns empty result, when try $pname = "eug%";, matching rows. special character not letting me search.

i tried

$pname = mb_convert_encoding($pname, 'utf-8', 'ascii'); 

but still not letting me search.

how can determine set table in database ?

the solution convert iso format

$pname = mb_convert_encoding($pname, 'iso-8859-1', 'utf-8'); 

Comments

Popular posts from this blog

sql - Time in datatime field -

javascript - How to split the success output from an Ajax post? -

java - sharing object across different classes -