This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Java in General and the fly likes help regarding  Character class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "help regarding  Character class" Watch "help regarding  Character class" New topic
Author

help regarding Character class

Ajay Bhargov
Ranch Hand

Joined: Mar 07, 2005
Posts: 31
Hi,

I wanted to know the meaning of high-surrogates range and low-surrogates range.The above 2 terms are used to represent the supplementary characters.

In the java doc they have specified tht Unicode standard allows char values to be more than 16bits.How can this be done??? Are they using 2 characters to store the values which require more than 16 bits??? If so then how will the compiler distinguish characters of 16bits and characters that are more than 16 bits???

In the java doc they have also specified for the Character class , that the range of legal code points is now U+0000 to U+10FFFF. Can anybody explain to me the above question???


With Regards,<br />Ajay
Ajay Bhargov
Ranch Hand

Joined: Mar 07, 2005
Posts: 31
Hi,

I am waiting for the reply. Please do post it to me.
John Dell'Oso
Ranch Hand

Joined: Apr 08, 2004
Posts: 130
Ajay,

Here's a link to a tutorial on character codes and encoding that may prove to be useful: (well I found it useful a little while back whilst trying to solve a particular encoding issue with xml)

Character Codes and Encoding

Just a little advice for you as well .. try not to sound too demanding when requesting a reply. Many potential posters find this very annoying and will flat out refuse to reply. Don't forget that the many good people that participate in these forums are not paid and post replies out of their desire to help out people - and they do it in their own time.

Regards,
JD
Ajay Bhargov
Ranch Hand

Joined: Mar 07, 2005
Posts: 31
Hi,

Thanks a lot for the reply.

I am really sorry for what i have done. The reason why i sent the second message was because if nobody replies to my post it will go to the last and there is lesser chances of many people seeing my message. So , only for this reason i did posted my second message "I am waiting for the reply" . I am extremely sorry if that has hurted you a lot. Thanks a lot for pointing out my mistake and i will take care that it will not happen once again.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: help regarding Character class