This is because it isn't the request content but URL get parametters
So you should probably do something like:

String nickName="网名";
String utf8nickName = new String(nickName.getBytes(), "UTF-8"); 
String url =“http://localhost:8080/updateUser/+userID+
"/"+utf8nickName +"/"+email+”/“; 

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/e861afe7-3f5f-4186-9fb4-cc5a039ecfa8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to