Character class - Character types - What this type means?

Can anybody tell me what is meant by DIRECTIONALITY_LEFT_TO_RIGHT_OVERRIDE(15) and SPACE_SEPARATOR(12)
I am trying to decode a string, but for the space character, I am getting a sequence like
Space - Character type 15,12,15
Between characters - 15.

So when i should get "Experts Exchange"
I am getting "E(15)x(15)p(15).....t(15)s(15)(12)(15)E(15)......(15)e

LVL 3
kumvjuecAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

CEHJCommented:
>>I am trying to decode a string

How?
0
kumvjuecAuthor Commented:
5500730065002000740068006500730065

Every two characters here are hex representation on one charater. So the first character is to be represented by 55, 2nd by 00 and so on.
I want the string here to be "Use these"
0
CEHJCommented:
           String s = "5500730065002000740068006500730065";
            StringBuffer sb = new StringBuffer(s.length());
            for(int i = 0;i < s.length();i += 2) {
                  String atom = s.substring(i, i + 2);
                  if ("00".equals(atom)) {
                        continue;
                  }
                  else {
                        sb.append((char)Integer.parseInt(atom, 16));
                  }
            }
            System.out.println(sb);
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
objectsCommented:
public class Decode
{
      public static void main(String[] args)
      {
            StringBuffer result = new StringBuffer();
            String s = "5500730065002000740068006500730065";
            for (int i=0; i<s.length(); i+=4)
            {
               result.append((char)Integer.parseInt(s.substring(i, i+2), 16));
            }
            System.out.println(result);
      }
}
0
CEHJCommented:
8-)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Fonts Typography

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.