I have a basic search function on my site. Everything works well except for when users search for just one character of these three 'åäö' then the query returns all the items in the table. How can this be? Is the caracters translates to something else in t-sql?
Dim sanitizedstring As String = helpclass.RemoveInvalidFileNameChars(txtSearch.Text, True)
Dim getArtists = From s In dc.tbl_artists _
Where s.ArtistName.ToString.ToLower.Contains(sanitizedstring) _
Select s
EDIT :
Collation of the db is Latin1_General_CI_AI.