← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #156443]: Jython: how to paste chinese characters (unicode characters)

 

Question #156443 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/156443

brian posted a new comment:
I wrote a simple sikuli  script in java.

import org.sikuli.script.*;
import java.lang.String;
public class TestSkiuli{
   Screen s = new Screen(100);
   try{
              s.Click("imng/1317125108412.png",o);
              s.type(null"RealPlayer");       
         }catch (FindFalse e)
 }
    e.printStackTrace();                
}
it can work.
But when i change "RealPlayer"to chinese character,it will produce decoding character.
"Exception in thread "main" java.lang.IllegalArgumentException: Cannot convert  character"
what can i do???

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.