Case sensitive with umlauts?

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

Tobias S.t 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.