I've been working all day to try to get unicode displayed in text
fields properly. I've come to the conclusion that probably the JSSH
socket connection doesn't support having unicode sent over it - is
there anyone who can confirm this? I saw a fix for Chinese, but this
was for IE, and other fixes involved ugliness like using Excel. Every
time I try to send unicode data (encoded in various ways with
different libraries) the output is always junk. Would building Firefox
with JSSH support built in help at all?  (not that it's an easy option
on windows, but still). I was trying to experiment with JSSH myself
using my own telnet client, but I couldn't find a unicode friendly
telnet client at all (not a good sign). I've tried everything: I
changed the default encoding of Firefox to utf8, I tried nkf, iconv,
and packing arrays of ints into unicode chars. All of these just
output junk (although the last method I could write to text files
fine) I've learned a lot about unicode in *Ruby* but if the problem is
unicode over JSSH that's beyond me.

I also have rewritten the doKeyPressMethod for quite a while now, it
looks like this:

class FireWatir::TextField
  def doKeyPress( value )
    @o.value = value
    fire_key_events
  end
end

this solves the slow text input problem on linux. I don't care about
inputting the text character by character, which may have caused an
issue with the unicode. I tried just putting in some unicode at that
low level by setting @o.value to a unicode value directly (not sure
how to get even lower level at the JSSH level) and that didn't help.

Please, if I could just get a simple yes or no about whether this is
even possible over JSSH, that would help a lot, thanks

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to