Solved

hex values

Posted on 2007-04-09
10
468 Views
Last Modified: 2010-04-09
I want to create an HTML table of all the characters with hexadeciaml values between

Basic Latin (0000-007F)
Latin-1 Supplement (0080-00FF)

So the table should be something like

<tr>
  <td>U+0000</td>
  <td>&#x0000;</td>
</tr>

<tr>
  <td>U+0001</td>
  <td>&#x0001;</td>
</tr>


But I don't know how counting is done in hexadecimal. Can someone please give a list of characters (hex values) that lie in the above ranges.
0
Comment
Question by:zenter
  • 4
  • 3
  • 2
  • +1
10 Comments
 
LVL 28

Assisted Solution

by:TName
TName earned 100 total points
ID: 18874977
0
 
LVL 12

Expert Comment

by:Sinoj Sebastian
ID: 18874989
0
 
LVL 12

Expert Comment

by:Sinoj Sebastian
ID: 18874998
Sorry TName :-(
I was delayed to press that submit button
0
 
LVL 28

Expert Comment

by:TName
ID: 18875008
No problem :)
0
 

Author Comment

by:zenter
ID: 18875032
Is U+0000 the right way to represent unicide characters. In the end I want the user the open the HTML page in browser and easily find out what characters are getting displayed and what are not.
0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
LVL 92

Expert Comment

by:objects
ID: 18875079
for (int i=start; i<end; i++)
{
   String hex = Integer.toHexString(i);
   System.out.println(hex);
}
0
 
LVL 12

Expert Comment

by:Sinoj Sebastian
ID: 18875141
0
 
LVL 28

Expert Comment

by:TName
ID: 18875149
You can use hex, but you can use decimal values as well, these pairs of hex/decimal values denote the same character...
(see linked charts)

  <td>&#x0040;</td>
  <td>&#64;</td>

  <td>&#x007D;</td>
  <td>&#125;</td>

 <td>&#x00AE;</td>
  <td>&#174;</td>
 
0
 

Author Comment

by:zenter
ID: 18875180
>>http://theorem.ca/~mvcorks/cgi-bin/unicode.pl.cgi?start=0000&end=00FF

Thanks. This is exactly what I need. Is it possible to get siilar table for these as well

Latin-1 Supplement (0080-00FF)
Latin Extended-A & B (0100-024F)
General Punctuation (2000-206F)
Currency Symbols (20A0-20CF)
Mathematical Operators (2200-22FF)
0
 
LVL 12

Accepted Solution

by:
Sinoj Sebastian earned 150 total points
ID: 18875213
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now