Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

hex values

Posted on 2007-04-09
10
Medium Priority
?
476 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 400 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
Build and deliver software with DevOps

A digital transformation requires faster time to market, shorter software development lifecycles, and the ability to adapt rapidly to changing customer demands. DevOps provides the solution.

 
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 600 total points
ID: 18875213
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article discusses how to create an extensible mechanism for linked drop downs.
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
Suggested Courses

670 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