Solved

Convert DBCS to ACII

Posted on 2010-09-14
7
509 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 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

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.
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
Suggested Courses

738 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