At 03:53 07/12/18, Michal S. 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:[email protected]