This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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: 19725
    
  20

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: need to convert string to unicode char array