I
Iñaki Baz Castillo
Hi, is it an appropiate list for asking about QtRuby?
Note the following issue:
=2D---------------------
~# export LANG=3Des_ES.UTF-8
~# irb1.8
irb> require "Qt4"=20
irb> num =3D 1.1
irb> puts num
1.1
irb> app =3D Qt::Application.new(ARGV)
#<Qt::Application:0x7f48392e6a70 objectName=3D"irb1.8">
irb> puts num
1,1
=2D---------------------
As you can see, after creating a Qt::Application instance, FixNum#to_s has=
=20
been overriden and prints the number in a format depending on user's LOCALE=
S=20
(in Spanish 1.1 is displayed as 1,1).
I've critical issues with it because I use some external libraries as=20
httpclient which creates wrong HTTP request after creating a instace of=20
Qt::Application:
GET /index.html HTTP/1,1 <--- Note 1,1 !!!
Is there any way to disable this behaviour in QtRuby? any workaround?
Thanks a lot.
=2D-=20
I=C3=B1aki Baz Castillo <[email protected]>
Note the following issue:
=2D---------------------
~# export LANG=3Des_ES.UTF-8
~# irb1.8
irb> require "Qt4"=20
irb> num =3D 1.1
irb> puts num
1.1
irb> app =3D Qt::Application.new(ARGV)
#<Qt::Application:0x7f48392e6a70 objectName=3D"irb1.8">
irb> puts num
1,1
=2D---------------------
As you can see, after creating a Qt::Application instance, FixNum#to_s has=
=20
been overriden and prints the number in a format depending on user's LOCALE=
S=20
(in Spanish 1.1 is displayed as 1,1).
I've critical issues with it because I use some external libraries as=20
httpclient which creates wrong HTTP request after creating a instace of=20
Qt::Application:
GET /index.html HTTP/1,1 <--- Note 1,1 !!!
Is there any way to disable this behaviour in QtRuby? any workaround?
Thanks a lot.
=2D-=20
I=C3=B1aki Baz Castillo <[email protected]>