Solved

Convert DBCS to ACII

Posted on 2010-09-14
7
495 Views
Last Modified: 2012-05-10
HI,

I have string s="sss" // think its dbcs char (That is japaneses char)
String s="0123456"  how this will convert to ascii

My charset format is UTF-8 ;
0
Comment
  • 4
  • 2
7 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 33672363
>>String s="0123456"  how this will convert to ascii

Not sure what the question is ... it would convert to the ascii codes for the first 7 digits?
0
 
LVL 20

Author Comment

by:Sathish David Kumar N
ID: 33672422
How to convert to ASCII?
0
 
LVL 86

Accepted Solution

by:
CEHJ earned 500 total points
ID: 33672509
You have something that's in Japanese? It's either a char or a String. Japanese can't be represented in ascii
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 20

Author Comment

by:Sathish David Kumar N
ID: 33672580
its a japanese String ....
0
 
LVL 20

Author Comment

by:Sathish David Kumar N
ID: 33672956
Y japanese letter not support ASCII ?
how can i convert this to DBCS to EBCID ? Do yuou have any idea ?? `
0
 
LVL 92

Expert Comment

by:objects
ID: 33677477
0
 
LVL 20

Author Closing Comment

by:Sathish David Kumar N
ID: 33817613
thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now