Hello all.

Ruby 1.9.
When I create some strings with Russian letters in C extensions, they have 

str.encoding #=> #<Encoding:ASCII-8BIT>

while being created in Ruby, they have proper UTF-8. Where is I'm idiot?

Thanks. 

V.