[Kde-bindings] Re: Text encoding in Ruby 1.8 plugins

David Palacio dpalacio at orbitalibre.org
Fri Feb 18 00:03:26 UTC 2011


The class Qt::TextCodec is not encoding UTF-8 text correctly for
QStrings either. Testcase attached.

-------------- next part --------------
require 'Qt4'

app = Qt::Application.new ARGV
codec = Qt::TextCodec::codecForName 'UTF-8'
bt = Qt::PushButton.new codec.toUnicode('????')
bt.show
app.exec



More information about the Kde-bindings mailing list