File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unicode, octal, hexa..... Help

 
Anonymous
Ranch Hand
Posts: 18944
  • 0
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3141
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Anonymous
Ranch Hand
Posts: 18944
  • 0
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic