Escape | Description | token | Excel | |
& | ampersand | & | & | |
> | greater than | > | > | |
< | less than | < | < | |
È | Egrave | È | È | alt+0200 |
ñ | ntilde | ñ | ñ | alt+0241 |
ö | ouml | ö | ö | alt+0246 |
| non breaking space |   | alt+0160 | |
© | copyright sign | © | © | alt+0169 |
® | registered sign | ® | ® | alt+0174 |
" | double quote | " | " | alt+0034 |
€ | Euro | € | € | alt+0128 |
HTML escape sequences are case sensitive |
The use of " was accidently dropped from the HTML 3.2 standard but is probably universally accepted -- use " to conform to standard.
Possible Background Colors. This page is using FFFEF4. [fffef4]
_ 0 | _ 1 | _ 2 | _ 3 | _ 4 | _ 5 | _ 6 | _ 7 | _ 8 | _ 9 | _ A | _ B | _ C | _ D | _ E | _ F | |
2 _ | 32 |
33 ! |
34 " |
35 # |
36 $ |
37 % |
38 & |
39 ' |
40 ( |
41 ) |
42 * |
43 + |
44 , |
45 - |
46 . |
47 / |
3 _ | 48 0 |
49 1 |
50 2 |
51 3 |
52 4 |
53 5 |
54 6 |
55 7 |
56 8 |
57 9 |
58 : |
59 ; |
60 < |
61 = |
62 > |
63 ? |
4 _ | 64 @ |
65 A |
66 B |
67 C |
68 D |
69 E |
70 F |
71 G |
72 H |
73 I |
74 J |
75 K |
76 L |
77 M |
78 N |
79 O |
5 _ | 80 P |
81 Q |
82 R |
83 S |
84 T |
85 U |
86 V |
87 W |
88 X |
89 Y |
90 Z |
91 [ |
92 \ |
93 ] |
94 ^ |
95 _ |
6 _ | 96 ` |
97 a |
98 b |
99 c |
100 d |
101 e |
102 f |
103 g |
104 h |
105 i |
106 j |
107 k |
108 l |
109 m |
110 n |
111 o |
7 _ | 112 p |
113 q |
114 r |
115 s |
116 t |
117 u |
118 v |
119 w |
120 x |
121 y |
122 z |
123 { |
124 | |
125 } |
126 ~ |
127 |
8 _ | 128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
142 |
143 |
9 _ | 144 |
145 |
146 |
147 |
148 |
149 |
150 |
151 |
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
A _ | 160 |
161 ¡ |
162 ¢ |
163 £ |
164 ¤ |
165 ¥ |
166 ¦ |
167 § |
168 ¨ |
169 © |
170 ª |
171 « |
172 ¬ |
173 |
174 ® |
175 ¯ |
B _ | 176 ° |
177 ± |
178 ² |
179 ³ |
180 ´ |
181 µ |
182 ¶ |
183 · |
184 ¸ |
185 ¹ |
186 º |
187 » |
188 ¼ |
189 ½ |
190 ¾ |
191 ¿ |
C _ | 192 À |
193 Á |
194 Â |
195 Ã |
196 Ä |
197 Å |
198 Æ |
199 Ç |
200 È |
201 É |
202 Ê |
203 Ë |
204 Ì |
205 Í |
206 Î |
207 Ï |
D _ | 208 Ð |
209 Ñ |
210 Ò |
211 Ó |
212 Ô |
213 Õ |
214 Ö |
215 × |
216 Ø |
217 Ù |
218 Ú |
219 Û |
220 Ü |
221 Ý |
222 Þ |
223 ß |
E _ | 224 à |
225 á |
226 â |
227 ã |
228 ä |
229 å |
230 æ |
231 ç |
232 è |
233 é |
234 ê |
235 ë |
236 ì |
237 í |
238 î |
239 ï |
F _ | 240 ð |
241 ñ |
242 ò |
243 ó |
244 ô |
245 õ |
246 ö |
247 ÷ |
248 ø |
249 ù |
250 ú |
251 û |
252 ü |
253 ý |
254 þ |
255 ÿ |
_ 0 | _ 1 | _ 2 | _ 3 | _ 4 | _ 5 | _ 6 | _ 7 | _ 8 | _ 9 | _ A | _ B | _ C | _ D | _ E | _ F |
ASCII Charts,
Chart 1 (codes 0–127),
Chart 2 (codes 128-255)
![]() can be added to your Excel Toolbar or Toolbar menu Note the Euro character is selected and was copied with the
|
Mathematical symbols in HTML see Related at bottom.
In a macro Ö [umlaut O] :
ActiveCell.Value = Chr(214)
on a Worksheet:
Copy and Paste:
Autocorrect: (tools menu)
|
by typing (only works on numeric keypad):
NumLock RtALT+0214 On American keyboards there is no distinction between
LtAlt or RtAlt.
Character Map: [Start],Program,accessories
To find the ASCII code of a single pasted character use CODE(char):
Here
is a Sub showCharMap() Dim vCharMap as String 'vCharMap = Shell("C:\Windows\CharMap.exe", 1) vCharMap = Shell("C:\winnt\system32\CharMap.exe", 1) End SubChip Pearson has a Symbolizer Addin to access 200 symbols. (I'd stick with CharMap myself) MS Word has a more direct route to the CharMap using Insert, Symbol. |
The Euro currency symbol - euro FAQ on the MS KB. takes on greater importance as the euro is now in use. How to obtain fonts and how to key in. The symbol appears as a large C with two cross bars €, if you see it here properly you have been updated. WinNT 4.0 SP4 updated my system. On US keyboards (FAQ footnote) use the numeric keypad Alt+0128 (with or w/o num lock).
Concerning that the Euro symbol does not appear in the Latin-1 char map with Arial, for instance. I expect that the WWW3 folks have not approved anything for the reserved Chars 128-159, which correspond with reserved Chars 0-31 (that's 00-1F, and 80-9F)
START --> Accessories --> Char Map
It is found in the Windows character set six characters after lowercase z.
More Euro information:
http://www.microsoft.com/OpenType/faq/faq12.htm
http://www.microsoft.com/typography/fontpack/default.htm
http://www.microsoft.com/windows/euro.asp
http://www.microsoft.com/typography/news/whatsnew.htm
http://europa.eu.int/euro/html/home5.html?lang=5 The European Commission's Web site on the euro
http://europa.eu.int/euro/html/calendrier5.html?lang=5 -- Euro Timetable, coins & currency Jan 1, 2002.
And if you have updated your Excel look in HELP
F1 (Help) --> answer wizard --> Euro --> Entering, displaying, and printing the euro sign
72° 14' 32" -- Displaying Latitude & Longitude, code as time by dividing degrees by 24 to appear as hours, and format the cell as [h]° mm' ss\" under Format|Custom where the degree symbol is typed ALT+0176 on the numeric keypad. For formatting a temperature: #"°F"
Note: 0176 is the degree symbol, 0186 looks similar is actually a superscript zero and is a little larger.
Additional examples of the above decimal conversions can be found on my formula page.
If you need to sort a column of alphabetic characters and numbers in an EBCDIC simulation in Excel see sorting for an abbreviated solution that sorts letters and numbers and equal(=) and minus(-).
Excel has it's own collating sequence for sorting. Numbers are sorted before text, text is sorted in the following order (upper and lowercase sort equal). The following table shows the Excel collating sequence for text cells char(32) to Char(127).
39 ' | 45 - | 32 |
33 ! | 34 " | 35 # | 36 $ | 37 % | 38 & | 40 ( |
41 ) | 42 * | 44 , | 46 . |
47 / | 58 : |
59 ; | 63 ? | 64 @ | 91 [ | 92 \ | 93 ] | 94 ^ | 95 _ | 43 + | 60 < | 61 = |
62 > | 48 0 | 49 1 | 50 2 | 51 3 |
52 4 | 53 5 | 54 6 | 55 7 | 56 8 | 57 9 | 65 A | 66 B | 67 C | 68 D | 69 E | 70 F | 71 G | 72 H | 73 I | 74 J |
75 K | 76 L | 77 M | 78 N | 79 O | 80 P | 81 Q | 82 R | 83 S | 84 T | 85 U | 86 V | 87 W | 88 X | 89 Y | 90 Z |
Related Excel Newsgroup articles: inputting symbols (this article not found 2000-05-29).
See My Excel Pages if you would like to see more of what I have written about MS Excel.
The following public text lists each of the characters specified in the Added Latin 1 entity set, along with its name, syntax for use, and description. This list is derived from ISO Standard 8879:1986//ENTITIES Added Latin 1//EN. HTML includes the entire entity set.
<!-- (C) International Organization for Standardization 1986 Permission to copy in any form is granted for use with conforming SGML systems and applications as defined in ISO 8879, provided this notice is included in all copies. --> <!-- Character entity set. Typical invocation: <!ENTITY % ISOlat1 PUBLIC "ISO 8879-1986//ENTITIES Added Latin 1//EN//HTML"> %ISOlat1; --> <!-- Modified for use in HTML $Id: ISOlat1.sgml,v 1.2 1994/11/30 23:45:12 connolly Exp $ --> <!ENTITY AElig CDATA "Æ" -- capital AE diphthong (ligature) --> <!ENTITY Aacute CDATA "Á" -- capital A, acute accent --> <!ENTITY Acirc CDATA "Â" -- capital A, circumflex accent --> <!ENTITY Agrave CDATA "À" -- capital A, grave accent --> <!ENTITY Aring CDATA "Å" -- capital A, ring --> <!ENTITY Atilde CDATA "Ã" -- capital A, tilde --> <!ENTITY Auml CDATA "Ä" -- capital A, dieresis or umlaut mark --> <!ENTITY Ccedil CDATA "Ç" -- capital C, cedilla --> <!ENTITY ETH CDATA "Ð" -- capital Eth, Icelandic --> <!ENTITY Eacute CDATA "É" -- capital E, acute accent --> <!ENTITY Ecirc CDATA "Ê" -- capital E, circumflex accent --> <!ENTITY Egrave CDATA "È" -- capital E, grave accent --> <!ENTITY Euml CDATA "Ë" -- capital E, dieresis or umlaut mark --> <!ENTITY Iacute CDATA "Í" -- capital I, acute accent --> <!ENTITY Icirc CDATA "Î" -- capital I, circumflex accent --> <!ENTITY Igrave CDATA "Ì" -- capital I, grave accent --> <!ENTITY Iuml CDATA "Ï" -- capital I, dieresis or umlaut mark --> <!ENTITY Ntilde CDATA "Ñ" -- capital N, tilde --> <!ENTITY Oacute CDATA "Ó" -- capital O, acute accent --> <!ENTITY Ocirc CDATA "Ô" -- capital O, circumflex accent --> <!ENTITY Ograve CDATA "Ò" -- capital O, grave accent --> <!ENTITY Oslash CDATA "Ø" -- capital O, slash --> <!ENTITY Otilde CDATA "Õ" -- capital O, tilde --> <!ENTITY Ouml CDATA "Ö" -- capital O, dieresis or umlaut mark --> <!ENTITY THORN CDATA "Þ" -- capital THORN, Icelandic --> <!ENTITY Uacute CDATA "Ú" -- capital U, acute accent --> <!ENTITY Ucirc CDATA "Û" -- capital U, circumflex accent --> <!ENTITY Ugrave CDATA "Ù" -- capital U, grave accent --> <!ENTITY Uuml CDATA "Ü" -- capital U, dieresis or umlaut mark --> <!ENTITY Yacute CDATA "Ý" -- capital Y, acute accent --> <!ENTITY aacute CDATA "á" -- small a, acute accent --> <!ENTITY acirc CDATA "â" -- small a, circumflex accent --> <!ENTITY aelig CDATA "æ" -- small ae diphthong (ligature) --> <!ENTITY agrave CDATA "à" -- small a, grave accent --> <!ENTITY aring CDATA "å" -- small a, ring --> <!ENTITY atilde CDATA "ã" -- small a, tilde --> <!ENTITY auml CDATA "ä" -- small a, dieresis or umlaut mark --> <!ENTITY ccedil CDATA "ç" -- small c, cedilla --> <!ENTITY eacute CDATA "é" -- small e, acute accent --> <!ENTITY ecirc CDATA "ê" -- small e, circumflex accent --> <!ENTITY egrave CDATA "è" -- small e, grave accent --> <!ENTITY eth CDATA "ð" -- small eth, Icelandic --> <!ENTITY euml CDATA "ë" -- small e, dieresis or umlaut mark --> <!ENTITY iacute CDATA "í" -- small i, acute accent --> <!ENTITY icirc CDATA "î" -- small i, circumflex accent --> <!ENTITY igrave CDATA "ì" -- small i, grave accent --> <!ENTITY iuml CDATA "ï" -- small i, dieresis or umlaut mark --> <!ENTITY ntilde CDATA "ñ" -- small n, tilde --> <!ENTITY oacute CDATA "ó" -- small o, acute accent --> <!ENTITY ocirc CDATA "ô" -- small o, circumflex accent --> <!ENTITY ograve CDATA "ò" -- small o, grave accent --> <!ENTITY oslash CDATA "ø" -- small o, slash --> <!ENTITY otilde CDATA "õ" -- small o, tilde --> <!ENTITY ouml CDATA "ö" -- small o, dieresis or umlaut mark --> <!ENTITY szlig CDATA "ß" -- small sharp s, German (sz ligature) --> <!ENTITY thorn CDATA "þ" -- small thorn, Icelandic --> <!ENTITY uacute CDATA "ú" -- small u, acute accent --> <!ENTITY ucirc CDATA "û" -- small u, circumflex accent --> <!ENTITY ugrave CDATA "ù" -- small u, grave accent --> <!ENTITY uuml CDATA "ü" -- small u, dieresis or umlaut mark --> <!ENTITY yacute CDATA "ý" -- small y, acute accent --> <!ENTITY yuml CDATA "ÿ" -- small y, dieresis or umlaut mark -->
One problem with EBCDIC is that, on different code pages, the same code point might be used for different characters.
Table 1: Examples of National Character Assignments in EBCDIC: EBCDIC EBCDIC Character (hexadecimal code point) Language(s) Code Page 4A 4F 5A 5B 5F 6A 7B 7C A1 C0 D0 E0 -------------------------------------------------------------------------- U.S. English CP037 ¢ | ! $ ¬ ¦ # @ ~ { } \ U.K. English CP285 $ | ! £ ¬ ¦ # @ { } \ Austrian/German CP273 Ä ! Ü $ ^ ö # § ß ä ü Ö Danish/Norwegian CP277 # ! ¤ Å ^ ø Æ Ø ü æ å \ Finnish/Swedish CP278 § ! ¤ Å ^ ö Ä Ö ü ä å É French CP297 ° ! § $ ^ ù £ à ¨ é è ç Italian CP280 ° ! é $ ^ ò £ § ì à è ç Spanish CP284 [ | ] $ ¬ ñ Ñ @ ¨ { } \ International CP500 [ ! ] $ ^ ¦ # @ ~ { } \ =========================================================================
Punch card codes are included but not the newer characters added to various codepages; and therefore, avoids additional problems related to codepages. The table includes the characters used in Assembler, COBOL, FORTRAN, PL/I, and REXX as used on mainframes.
(1) | ||||||||||||||||||
(2) | ||||||||||||||||||
(3) | ||||||||||||||||||
(4) | ||||||||||||||||||
(5) | ||||||||||||||||||
Warning the punches marked along the right and bottom are over simplified and ONLY apply to cells which are showing a value. There are MANY exceptions including the following which appear in the chart. THIS AREA NEEDS A LOT MORE WORK. ALSO translations to or from ASCII are not consistent or reversible. Translations depend on your systems.
(1) | NUL | 12-0-1-8-9 |
(2) | DS | 11-0-1-8-9 |
(3) | SP | blank (space), no punches |
(4) | & | 12 |
(5) | - | 11 |
.