start page | rating of books | rating of authors | reviews | copyrights

Book Home Java Servlet Programming Search this book

Appendix D. Character Entities

Table D-1lists the various Unicode escapes, HTML numeric entities, and HTML named entities for all printable ISO-8859-1 (Latin-1) characters.

The numeric and named entities may be used within HTML pages; they are converted to symbols by web browsers. Unicode escapes may be used within servlet code; they are interpreted by the Java compiler. For example, a pound sign (£) can be embedded in an HTML page as "£" or "£". It can be embedded directly in Java code as "\u00A3".

Not every HTML character entity is universally supported. The Support column indicates its level of support. An "S" value means the numeric and named entity values for the symbol are part of the HTML standard. A "P" indicates the entity values are proposed standards--not part of the HTML standard but in most cases widely supported. An "N" in the column indicates the entity values are nonstandard and poorly supported. For these symbols, it's often best to use Unicode escapes.

Table D-1. Character Entities

Unicode Escape

Numeric Entity

Named Entity

Symbol

Description

Support

\u0009

	

\t

Horizontal tab

S

\u000A




\n

Line feed

S

\u000D



\r

Carriage return

S

\u0020

 

Space

S

\u0021

!

!

Exclamation point

S

\u0022

"

"

"

Quotation mark

S

\u0023

#

#

Hash mark

S

\u0024

$

$

Dollar sign

S

\u0025

%

%

Percent sign

S

\u0026

&

&

&

Ampersand

S

\u0027

'

'

Apostrophe

S

\u0028

(

(

Left parenthesis

S

\u0029

)

)

Right parenthesis

S

\u002A

*

*

Asterisk

S

\u002B

+

+

Plus sign

S

\u002C

,

,

Comma

S

\u002D

-

-

Hyphen

S

\u002E

.

.

Period

S

\u002F

/

/

Slash

S

\u0030-\u0039

0-9

0-9

Digits 0-9

S

\u003A

:

:

Colon

S

\u003B

&#059;

;

Semicolon

S

\u003C

<

<

<

Less than

S

\u003D

&#061;

=

Equal sign

S

\u003E

&#062;

&gt;

>

Greater than

S

\u003F

&#063;

?

Question mark

S

\u0040

&#064;

@

Commercial "at" sign

S

\u0041-\u005A

&#065;-&#090;

A-Z

Letters A-Z

S

\u005B

&#091;

[

Left square bracket

S

\u005C

&#092;

\

Backslash

S

\u005D

&#093;

]

Right square bracket

S

\u005E

&#094;

^

Caret

S

\u005F

&#095;

_

Underscore

S

\u0060

&#096;

`

Grave accent

S

\u0061-\u007A

&#097;-&#122;

a-z

Letters a-z

S

\u007B

&#123;

{

Left curly brace

S

\u007C

&#124;

|

Vertical bar

S

\u007D

&#125;

}

Right curly brace

S

\u007E

&#126;

~

Tilde

S

\u0082

&#130;

,

N

\u0083

&#131;

ƒ

Florin

N

\u0084

&#132;

"

Right double quote

N

\u0085

&#133;

...

Ellipsis

N

\u0086

&#134;

Dagger

N

\u0087

&#135;

Double dagger

N

\u0088

&#136;

^

Circumflex

N

\u0089

&#137;

Permil

N

\u008A

&#138;

Š

Capital S, caron

N

\u008B

&#139;

<

Less than sign

N

\u008C

&#140;

Œ

Capital OE ligature

N

\u0091

&#145;

`

Left single quote

N

\u0092

&#146;

'

Right single quote

N

\u0093

&#147;

"

Left double quote

N

\u0094

&#148;

rdquo

Right double quote

N

\u0095

&#149;

Bullet

N

\u0096

&#150;

En dash

N

\u0097

&#151;

--

Em dash

N

\u0098

&#152;

~

Tilde

N

\u0099

&#153;

Trademark

N

\u009A

&#154;

š

Small s, caron

N

\u009B

&#155;

>

Greater than sign

N

\u009C

&#156;

œ

Small oe ligature

N

\u009F

&#159;

Yuml

Capital Y, umlaut

N

\u00A0

&#160;

&nbsp;

Nonbreaking space

P

\u00A1

&#161;

&iexcl;

¡

Inverted exclamation point

P

\u00A2

&#162;

&cent;

¢

Cent sign

P

\u00A3

&#163;

&pound;

£

Pound sign

P

\u00A4

&#164;

&curren;

¤

General currency sign

P

\u00A5

&#165;

&yen;

¥

Yen sign

P

\u00A6

&#166;

&brvbar;

|

Broken vertical bar

P

\u00A7

&#167;

&sect;

§

Section sign

P

\u00A8

&#168;

&uml;

¨

Umlaut

P

\u00A9

&#169;

&copy;

©

Copyright

P

\u00AA

&#170;

&ordf;

ª

Feminine ordinal

P

\u00AB

&#171;

&laquo;

«

Left angle quote

P

\u00AC

&#172;

&not;

¬

Not sign

P

\u00AD

&#173;

&shy;

-

Soft hyphen

P

\u00AE

&#174;

&reg;

®

Registered trademark

P

\u00AF

&#175;

&macr;

¯

Macron accent

P

\u00B0

&#176;

&deg;

˚

Degree sign

P

\u00B1

&#177;

&plusmn;

±

Plus or minus

P

\u00B2

&#178;

&sup2;

2

Superscript 2

P

\u00B3

&#179;

&sup3;

3

Superscript 3

P

\u00B4

&#180;

&acute;

´

Acute accent

P

\u00B5

&#181;

&micro;

µ

Micro sign (Greek mu)

P

\u00B6

&#182;

&para;

Paragraph sign

P

\u00B7

&#183;

&middot;

·

Middle dot

P

\u00B8

&#184;

&cedil;

¸

Cedilla

P

\u00B9

&#185;

&sup1;

1

Superscript 1

P

\u00BA

&#186;

&ordm;

º

Masculine ordinal

P

\u00BB

&#187;

&raquo;

»

Right angle quote

P

\u00BC

&#188;

&frac14;

¼

Fraction one-fourth

P

\u00BD

&#189;

&frac12;

½

Fraction one-half

P

\u00BE

&#190;

&frac34;

¾

Fraction three-fourths

P

\u00BF

&#191;

&iquest;

¿

Inverted question mark

P

\u00C0

&#192;

&Agrave;

À

Capital A, grave accent

S

\u00C1

&#193;

&Aacute;

Á

Capital A, acute accent

S

\u00C2

&#194;

&Acirc;

Â

Capital A, circumflex accent

S

\u00C3

&#195;

&Atilde;

Ã

Capital A, tilde

S

\u00C4

&#196;

&Auml;

Ä

Capital A, umlaut

S

\u00C5

&#197;

&Aring;

Å

Capital A, ring

S

\u00C6

&#198;

&AElig;

Æ

Capital AE ligature

S

\u00C7

&#199;

&Ccedil;

Ç

Capital C, cedilla

S

\u00C8

&#200;

&Egrave;

È

Capital E, grave accent

S

\u00C9

&#201;

&Eacute;

É

Capital E, acute accent

S

\u00CA

&#202;

&Ecirc;

Ê

Capital E, circumflex accent

S

\u00CB

&#203;

&Euml;

Ë

Capital E, umlaut

S

\u00CC

&#204;

&Igrave;

Ì

Capital I, grave accent

S

\u00CD

&#205;

&Iacute;

Í

Capital I, acute accent

S

\u00CE

&#206;

&Icirc;

Î

Capital I, circumflex accent

S

\u00CF

&#207;

&Iuml;

Ï

Capital I, umlaut

S

\u00D0

&#208;

&ETH;

Ð

Capital eth, Icelandic

S

\u00D1

&#209;

&Ntilde;

Ñ

Capital N, tilde

S

\u00D2

&#210;

&Ograve;

Ò

Capital O, grave accent

S

\u00D3

&#211;

&Oacute;

Ó

Capital O, acute accent

S

\u00D4

&#212;

&Ocirc;

Ô

Capital O, circumflex accent

S

\u00D5

&#213;

&Otilde;

Õ

Capital O, tilde

S

\u00D6

&#214;

&Ouml;

Ö

Capital O, umlaut

S

\u00D7

&#215;

&times;

×

Multiply sign

P

\u00D8

&#216;

&Oslash;

Ø

Capital O, slash

S

\u00D9

&#217;

&Ugrave;

Ù

Capital U, grave accent

S

\u00DA

&#218;

&Uacute;

Ú

Capital U, acute accent

S

\u00DB

&#219;

&Ucirc;

Û

Capital U, circumflex accent

S

\u00DC

&#220;

&Uuml;

Ü

Capital U, umlaut

S

\u00DD

&#221;

&Yacute;

Yacute

Capital Y, acute accent

S

\u00DE

&#222;

&THORN;

THORN

Capital thorn, Icelandic

S

\u00DF

&#223;

&szlig;

ß

Small sz ligature, German

S

\u00E0

&#224;

&agrave;

à

Small a, grave accent

S

\u00E1

&#225;

&aacute;

á

Small a, acute accent

S

\u00E2

&#226;

&acirc;

â

Small a, circumflex accent

S

\u00E3

&#227;

&atilde;

ã

Small a, tilde

S

\u00E4

&#228;

&auml;

ä

Small a, umlaut

S

\u00E5

&#229;

&aring;

å

Small a, ring

S

\u00E6

&#230;

&aelig;

æ

Small ae ligature

S

\u00E7

&#231;

&ccedil;

ç

Small c, cedilla

S

\u00E8

&#232;

&egrave;

è

Small e, grave accent

S

\u00E9

&#233;

&eacute;

é

Small e, acute accent

S

\u00EA

&#234;

&ecirc;

ê

Small e, circumflex accent

S

\u00EB

&#235;

&euml;

ë

Small e, umlaut

S

\u00EC

&#236;

&igrave;

ì

Small i, grave accent

S

\u00ED

&#237;

&iacute;

í

Small i, acute accent

S

\u00EE

&#238;

&icirc;

î

Small i, circumflex accent

S

\u00EF

&#239;

&iuml;

ï

Small i, umlaut

S

\u00F0

&#240;

&eth;

eth

Small eth, Icelandic

S

\u00F1

&#241;

&ntilde;

ñ

Small n, tilde

S

\u00F2

&#242;

&ograve;

ò

Small o, grave accent

S

\u00F3

&#243;

&oacute;

ó

Small o, acute accent

S

\u00F4

&#244;

&ocirc;

ô

Small o, circumflex accent

S

\u00F5

&#245;

&otilde;

õ

Small o, tilde

S

\u00F6

&#246;

&ouml;

ö

Small o, umlaut

S

\u00F7

&#247;

&divide;

÷

Division sign

P

\u00F8

&#248;

&oslash;

ø

Small o, slash

S

\u00F9

&#249;

&ugrave;

ù

Small u, grave accent

S

\u00FA

&#250;

&uacute;

ú

Small u, acute accent

S

\u00FB

&#251;

&ucirc;

û

Small u, circumflex accent

S

\u00FC

&#252;

&uuml;

ü

Small u, umlaut

S

\u00FD

&#253;

&yacute;

ý

Small y, acute accent

S

\u00FE

&#254;

&thorn;

thorn;

Small thorn, Icelandic

S

\u00FF

&#255;

&yuml;

ÿ

Small y, umlaut

S



Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.