Solved

hex values

Posted on 2007-04-09
10
469 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
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
 
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

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
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 embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

773 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