Convert DBCS to ACII

Posted on 2010-09-14
Last Modified: 2012-05-10

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 ;
  • 4
  • 2
LVL 86

Expert Comment

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?
LVL 20

Author Comment

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

Accepted Solution

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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

LVL 20

Author Comment

by:Sathish David Kumar N
ID: 33672580
its a japanese String ....
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 ?? `
LVL 92

Expert Comment

ID: 33677477
LVL 20

Author Closing Comment

by:Sathish David Kumar N
ID: 33817613

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
This video teaches viewers about errors in exception handling.

707 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

17 Experts available now in Live!

Get 1:1 Help Now