Solved

hex values

Posted on 2007-04-09
10
467 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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
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 an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

759 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

17 Experts available now in Live!

Get 1:1 Help Now