New question #682434 on Sikuli:
https://answers.launchpad.net/sikuli/+question/682434
When I use vncScreen,it will display Chinese randomly through functions such
as paste (region, new String (text. getBytes ("UTF-8"), "UTF-8"). When I use
Screen,it works well.
The java code is as follows.
public void keyboardPasteTextRegion(VNCScreen vncscreen, Region region, String
text){
try{
vncscreen.paste(region,new
String(text.getBytes("UTF-8"),"UTF-8"));
}catch(Exception e){
e.printStackTrace();
}
}
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp