Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

help regarding Character class

 
Ajay Bhargov
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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???
 
Ajay Bhargov
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am waiting for the reply. Please do post it to me.
 
John Dell'Oso
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic