aspose file tools*
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
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: 19670
    
  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
 
Consider Paul's rocket mass heater.
 
subject: need to convert string to unicode char array