jQuery in Action, 2nd edition*
The moose likes Java in General and the fly likes need to convert string to unicode char array Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "need to convert string to unicode char array" Watch "need to convert string to unicode char array" New topic
Author

need to convert string to unicode char array

sudheer kiran
Ranch Hand

Joined: Jun 26, 2008
Posts: 237

i need to convert a string to char array like
chat[] c = {'\u0078','\u098'}

how to do that.

Sudheer
SCWCD, SCJP 5
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19654
    
  18

java.lang.String


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
prem pillai
Ranch Hand

Joined: Nov 02, 2007
Posts: 87


Just googled ..
http://www.java2s.com/Tutorial/Java/0120__Development/Convertsthestringtotheunicodeformat.htm
 
 
subject: need to convert string to unicode char array
 
Similar Threads
String indexing
Read integers from a char array buffer
converting a string to bytes
can you please sort the error??
String formate