aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Unicode, octal, hexa..... Help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Unicode, octal, hexa..... Help" Watch "Unicode, octal, hexa..... Help" New topic
Author

Unicode, octal, hexa..... Help

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hi,
1. Is there any Method in Java which gives the Unicode value of any characters etc. If there is please let me know what it is. If there isn't any then how to find out what is the unicode value of suppose 'A'. Are we supposed to remember the unicode values. Please let me know.
2. Khalid had shown in his book converting of Octal and Hexadecimal Numbers to Decimal.
How to convert the decimal values to Octal or Hexadecimal values. Please let me know.
Thanks.
chandu.
Jane Griscti
Ranch Hand

Joined: Aug 30, 2000
Posts: 3141
Hi chandrashekar,
1. You are not expected to know all the Unicode characters; however, you should be familiar with the concept of Unicode escapes (see JLS §3.3) and the escape sequences for character and string litrals (see JLS §3.10.6).
2. I have some notes on bin/oct/hex/decimal conversions at http://www.janeg.ca/scjp/oper/binhex.html which may help.
------------------
Jane Griscti
Sun Certified Programmer for the Java� 2 Platform


Jane Griscti
SCJP, Co-author Mike Meyers' Java 2 Certification Passport
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Wow!! Jane Griscti. You made a wonderful site. I was amazed browsing your site. Thanks for the help. I got the details from your site. The concept is very clear now.

Thanks a lot!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unicode, octal, hexa..... Help