?
Solved

Convert DBCS to ACII

Posted on 2010-09-14
7
Medium Priority
?
522 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 
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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them.

Question has a verified solution.

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

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
This video teaches viewers about errors in exception handling.
Suggested Courses
Course of the Month9 days, 21 hours left to enroll

762 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