The same patch applies to the curses extension in 1.9, and the patched
hello.rb then works as expected.
The only reference to setlocale appears to be in a comment  in
time.rb. Perhaps ruby should start to care about locale?

Thanks

Michal