Solved

hex values

Posted on 2007-04-09
10
475 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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: 18874998
Sorry TName :-(
I was delayed to press that submit button
0
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

 
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

Setting up LaraDock for Laravel

Learn how to set up LaraDock in a Laravel project - LaraDock gives us an easy way to run a Laravel application using Docker in a single command.

Question has a verified solution.

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

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
Find out what you should include to make the best professional email signature for your organization.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

624 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