From: Martin Duerst Date: 2007-12-18T12:02:08+09:00 Subject: Re: multibyte characters in curses At 03:53 07/12/18, Michal Suchanek wrote: >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? Ruby definitely will start to care about locales, but calling setlocale may be the wrong thing to do. It would mean for example that all calls to strcasecmp in the Ruby code have to be carefully examined. For many programs, the idea of a single locale for an application also creates problems. Regards, Martin. #-#-# Martin J. Du"rst, Assoc. Professor, Aoyama Gakuin University #-#-# http://www.sw.it.aoyama.ac.jp mailto:duerst@it.aoyama.ac.jp