Hi all, i've got a problem with words which contain (german) umlauts (ä,ö, etc.). Here are some examples: indexed words: schäfer, hund query "hund" -> hit query "Hund" -> hit query "schäfer" -> hit query "Schäfer" -> no hit (Same results, if the indexed words have got a capital.) What can I do to get a case insensitive search? I added these two lines to my environment.rb: ENV['LANG'] = 'de_DE.UTF-8@euro' ENV['LC_TIME'] = 'C' Thanks for help
on 2008-07-29 17:33
on 2008-10-17 17:37
Tobias Schmidt wrote: > Hi all, > > i've got a problem with words which contain (german) umlauts (ä,ö, > etc.). Here are some examples: > > indexed words: schäfer, hund > query "hund" -> hit > query "Hund" -> hit > query "schäfer" -> hit > query "Schäfer" -> no hit > > (Same results, if the indexed words have got a capital.) > > What can I do to get a case insensitive search? I added these two lines > to my environment.rb: > ENV['LANG'] = 'de_DE.UTF-8@euro' > ENV['LC_TIME'] = 'C' > > Thanks for help I fixed the problem. There was no locale "de_DE.UTF-8@euro" on the server. The solution is very simple: remove @euro in case you have de_DE.UTF-8 installed.
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.