Ruby curses problem

code like follow:

require "curses"
include Curses

init_screen
begin
  crmode
  echo
  getstr
  noecho
ensure
  close_screen
end

i input some chinese word like "你好", it shows the wrong word "暮" not
"你好"!

how can i get the right chinese word "你好" when i input just like "你好"!

Thanks a lot! I am waiting for the responseble!

···

--
Posted via http://www.ruby-forum.com/.