require "qt2"
include Qt2
 
a = QApplication.new([$0]+ARGV)

#codec = QTextCodec.codecForName('eucJP')
codec = QEucJpCodec.new
a.setDefaultCodec(codec)
label = QLabel.new(tr("ÆüËÜ¸ì"), nil)
a.setMainWidget(label)
label.show
a.exec

