Forum: Rails I18n Encoding problem - how to debug?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
8166a9470863dc82b73f42c60c667f8a?d=identicon&s=25 Linus (Guest)
on 2007-03-08 15:50
When I put character "Ä…" in the search input page, I get the falowing in
the logs:

Processing SearchController#index (for at 2007-03-08 15:36:18)
  Session ID: f3e7710bce35c8ca7476b7829e8a801d
  Parameters: {"action"=>"index", "controller"=>"search", "query"=>"Ä…",

The query string is incorrectly encoded, or maybe the log file is
incorectly encoded?
Nevertheless, then I pass that string to ferret, I get incorrect results
(the database is inported from other system and is 100% correct

I can not debug the reason for this happening.

I use ruby 1.8.5, rails-1.2.2. I have headers["Content-Type"] ||=
"text/html; charset=UTF-8" and page encoding set to UTF8.

Any ideas how to debug what is the problem?

Best regards,
This topic is locked and can not be replied to.