Hi, in my web site (c# & sql server) i am trying to enable non ascii username and passwords, (username and password columns are set to NvarChar )
what would be the best aproach to achive this?
Hi, in my web site (c# & sql server) i am trying to enable non ascii username and passwords, (username and password columns are set to NvarChar )
what would be the best aproach to achive this?
I guess you must not have tried this yet.
.NET strings are Unicode. There should be nothing special you have to do.
Try
select * from site_users where un=N'محبوب' and pw=N'محبوب'