Reputation: 5672
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?
Upvotes: 0
Views: 139
Reputation: 161773
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'محبوب'
Upvotes: 1