This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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 Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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: 20131
    
  30

java.lang.String


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 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
 
It's not a secret anymore!