From: "Iñaki Baz Castillo" Date: 2009-08-02T23:30:16+09:00 Subject: Re: qtruby overrides "to_s" depending on user's LOCALES El Domingo, 2 de Agosto de 2009, Iñaki Baz Castillo escribió: > Hi, is it an appropiate list for asking about QtRuby? > > Note the following issue: > > ---------------------- > ~# export LANG=es_ES.UTF-8 > > ~# irb1.8 > > irb> require "Qt4" > > irb> num = 1.1 > irb> puts num > 1.1 > > irb> app = Qt::Application.new(ARGV) > # > > irb> puts num > 1,1 > ---------------------- > > As you can see, after creating a Qt::Application instance, FixNum#to_s has > been overriden and prints the number in a format depending on user's > LOCALES (in Spanish 1.1 is displayed as 1,1). ops, a related thread with no happy final: http://rubyforge.org/forum/forum.php?thread_id=32460&forum_id=723 -- Iñaki Baz Castillo