Thanks to Michael Czepiel for his technical input.
If you need to only insert a few special symbols or non-English words onto a mostly English page, you may find that you can insert it with a special entity code using the Unicode decimal numeric value. However, not all symbols are supported on all browsers, even recent ones. It is highly recommended that you preview your pages on a few browsers to see if they work.
Below are some steps for finding and inserting a numeric code.
The Unicode Consortium provides a series of P.D.F. charts organized by script block (e.g. Arabic, Greek, Math, etc). These charts provide the hexadecimal (base 16) codes. These must be converted to decimal codes (Base 10) before being implemented
NOTE: Some Web sites may provide these special entity codes in Base 10 format. See links at the end of this page for some samples.
Either hexadecimal or decimal numbers can be used, but it is important to know because the entity code template differs slightly depending on whether you use hexadecimal or decimal.
The hexadecimal template is &#x<hex-number>; and the decimal template is &#<dec-number>; without the "x".
Notes: All codes begin with "&#" and end with a semicolon (;). A hexadecimal number is signaled by the use of "x" after the "#" sign. In addition, if a hexadecimal number is less than four digits, leading zeros must be added.
|Capital A with Macron (Ā)||Numeric Code||HTML Entity Code||Result|
Use the following code to declare that your HTML page is using
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
The final close slash must be included after the finat quote mark in the encoding header tag if you are using XHTML
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
If no encoding is declared, then the browser uses the default setting, which in the U.S. is typically Latin-1.Older browsers such as Netscape 4.7 may not be able to process the entity codes correctly without the "utf-8" declaration.
Unicode is inconsistently implemented on different browsers and platforms. Make sure the characters you want to use can be displayed on both Windows and Macintosh and on Internet Explorer or Netscape (or any other browsers in common use). If you have LInux or Unix users, you need to test on those platforms as well.
Users whose browsers/platforms cannot see a particular character will display a "????" or empty boxes.
The following Web sites feature free hexadecimal conversion tools
You can use the free Calculator utility to convert hexadecimal number to decimal numbers. To use this tool:
As of System 10.4 (if not earlier), the Calculator application includes hex convertion and Unicode conversion calculatior.
Calculators shipped older Macintosh systems may not include hexadecimal conversion utilities. If that is the case, you may want to use one of the free online calculators or download a shareware/freeware utility such as Hex Toaster.
©Penn State University, 2000-2013.
This Web page maintained by Teaching and Learning with Technology, a unit of Information Technology Services. For questions or comments on this Web page, please contact Elizabeth J. Pyatt (firstname.lastname@example.org).
This site uses Unicode to display non-English characters. This site is best viewed in the most recent versions of your browser.
Unicode character names and hexadecimal entity codes are taken from the public Unicode Character Charts.
This publication is available in alternate media upon request.
Last Modified: Tuesday, 04-Jun-2013 12:41:35 EDT