Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17



Posted on 1999-07-13
Medium Priority
Last Modified: 2013-12-03

I need to know whether in Japanese codepage (Shift-JIS) exist double byte version of English alphabet.
E.g. pairs like this:
'A' (ASCII code 65) - 'A' (some double byte code from Shift-JIS).

I'm aware that starting parts of ASCII and Shift-JIS are same so 'A' from ASCII is equal to 'A' from Shift-JIS. But I suppose that another code from JIS may exist for ASCII's 'A'.

If someone can say ABSOLUTELY DEFINITELY that I'm mistaken I'll accept it as answer.
Othewise if someone will tell that such pairs are exist PLEASE provide them!!

Thanks in advance, mikle.
Question by:mikle081198
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
  • 2

Accepted Solution

Laminamia063099 earned 400 total points
ID: 1402832
I suppose that you desire to know that this is true so that you don't have to take into account the problem of parsing between single and double byte characters.  This can be a major problem.  The solution to this is to use UNICODE.  There, all characters, the old ASCII standard and the extended character set are represented.  Japanese characters are represented in codes 0x3000 - 09FFF.  0x0000-0x7FFF are the normal ASCII codes, in two byte format. (The first 128 characters).  You can use MultiBytetoWideChar () and WideCharToMultiByte () to convert between Shift-JIS and UNICODE.  There are some codes that don't have a one-to-one conversion, and those codes are listed at:

Now, to answer your question.  There is no double-byte equivalent for 'A'.  This is the problem with the double-byte character system.  Try using UNICODE instead.

If you have another question, just post a comment.

Expert Comment

ID: 1402833
It's exactly this problem that has makes Shift-JIS a nuisance.  But, because it's used so much in MS, because they developed it, we face this problem.

Author Comment

ID: 1402834
Thank you for your great answer!!!

I do not need UNICODE. Shift-JIS only.

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

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

This article describes how to programmatically preset the "Pages per Sheet" option that's available with most printer drivers.   This setting lets you do "n-Up" printing, where two, four, or more pages are printed on each sheet of paper. If your …
For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA.…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

704 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