[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bindings
Subject:    Re: [Kde-bindings]
From:       Richard Dale <rdale () foton ! es>
Date:       2010-01-19 13:59:28
Message-ID: 201001191359.28757.rdale () foton ! es
[Download RAW message or body]

On Tuesday 19 January 2010 01:53:47 pm Nicolas Mosconi wrote:
> Override the method Float.to_s in qt-ruby causes several problems in
> locales where the comma is used as decimal separator.
> For example: activerecord generates queries like this  : SELECT * FROM
> people WHERE weigh < 80,5
Well the problem is caused by Qt setting the locale in its startup code - it 
isn't caused by QtRuby itself. So it is quite tricky to fix. ActiveRecord 
shouldn't really be using locale specific code in Ruby for non-locale specific 
purposes. I've had problems with the PDFWriter library too where it was 
assuming the decimal point was always a '.'.

-- Richard
_______________________________________________
Kde-bindings mailing list
Kde-bindings@kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic