On 29 Sep 2008, at 21:26, Morgan Kay <[EMAIL PROTECTED]
s.net> wrote:
>
> Is there any way to write a search function that can search for words
> that contain accented characters when the user types in words without
> accented characters?
>
Play with your database collation settings
Fred
> My database has a lot of names in it that have characters with accents
> and other non-keyboard characters. When users search the database, I
> would like for them to be able to find records with accented
> characters
> even if they don't type in the accent. For instance, a user might be
> searching for a text by the author Chrétien de Troyes. Right now, t
> hey
> have to type "Chrétien" into the search form to find him: I would li
> ke
> for a search for "Chretien" to also find "Chrétien."
>
> This strikes me as a rather common problem: is there a good solution
> for
> it?
> --
> Posted via http://www.ruby-forum.com/.
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---