| Summary: | [QtRuby] Qt::LineEdit cannot handle double-byte properly. | ||
|---|---|---|---|
| Product: | [Unmaintained] bindings | Reporter: | Hideki Ikemoto <ikemo333> |
| Component: | general | Assignee: | bindings-bugs-null |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | normal | CC: | andrew.crouthamel |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
Dear Bug Submitter, This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond. Thank you for helping us make KDE software even better for everyone! I have no working environment already. I am already losing interest. Please close this bug. Thanks for the update! |
Version: (using KDE KDE 3.5.8) Installed from: Fedora RPMs Input japanese character (and probably other double-byte characters) in TextEdit and get text with Qt::LineEdit.text(), and it would see '?'. Sample Code --- #!/usr/bin/ruby require 'Qt' class MyMainWindow < Qt::MainWindow slots 'slot_return_pressed()' def initialize super @line = Qt::LineEdit.new(self) connect(@line, SIGNAL("returnPressed()"), self, SLOT("slot_return_pressed()")) end def slot_return_pressed text = @line.text puts text ### Error! japanese character -> '?' end end app = Qt::Application.new(ARGV) main_window = MyMainWindow.new app.mainWidget = main_window main_window.show app.exec ---