utf 8 or something else ?

Hello!
If i perform the search with Cyrillic letters
i'm getting this params.

where is $KCODE variable in rails?