In Windows, you can type any character you want by holding down the ALT key, typing a sequence of numbers, then releasing the ALT key. You can type a lot of characters that may not have a corresponding key on your keyboard – such as European language alphabetic characters, ASCII symbols, and even Chinese characters (also known as Hanzi, Kanji. Windows: Type currency symbols. Hold 'Alt' and type the number below using the numeric. In Windows, the Alt key combined with numeric codes can access characters that aren't readily available on a normal keyboard. While Alt codes don't exist on Mac computers, there are a variety of Option key shortcuts that can let you type the most popular characters.
In computing, end-of-file (EOF)[1] is a condition in a computer operating system where no more data can be read from a data source. The data source is usually called a file or stream.
Details[edit]
In the C Standard Library, the character reading functions such as getchar return a value equal to the symbolic value (macro) EOF
to indicate that an end-of-file condition has occurred. The actual value of EOF
is implementation-dependent (but is commonly −1, such as in glibc[2]) and is distinct from all valid character codes. Block-reading functions return the number of bytes read, and if this is fewer than asked for, then the end of file was reached or an error occurred (checking of errno
or dedicated function, such as ferror
is often required to determine which).
EOF character[edit]
Input from a terminal never really 'ends' (unless the device is disconnected), but it is useful to enter more than one 'file' into a terminal, so a key sequence is reserved to indicate end of input. In UNIX the translation of the keystroke to EOF is performed by the terminal driver, so a program does not need to distinguish terminals from other input files. Goldsmith the trap pdf free. By default, the driver converts a Control-D character at the start of a line into an end-of-file indicator. To insert an actual Control-D (ASCII 04) character into the input stream, the user precedes it with a 'quote' command character (usually Control-V). AmigaDOS is similar but uses Control- instead of Control-D.
In DOS and Windows (and in CP/M and many DEC operating systems such as RT-11 or VMS), reading from the terminal will never produce an EOF. Instead, programs recognize that the source is a terminal (or other 'character device') and interpret a given reserved character or sequence as an end-of-file indicator; most commonly this is an ASCIIControl-Z, code 26. Some MS-DOS programs, including parts of the Microsoft MS-DOS shell (COMMAND.COM) and operating-system utility programs (such as EDLIN), treat a Control-Z in a text file as marking the end of meaningful data, and/or append a Control-Z to the end when writing a text file. This was done for two reasons:
- Backward compatibility with CP/M. The CP/M file system only recorded the lengths of files in multiples of 128-byte 'records', so by convention a Control-Z character was used to mark the end of meaningful data if it ended in the middle of a record. The MS-DOS filesystem has always recorded the exact byte-length of files, so this was never necessary on MS-DOS.
- It allows programs to use the same code to read input from both a terminal and a text file.
In the ANSI X3.27-1969 magnetic tape standard, the end of file was indicated by a tape mark, which consisted of a gap of approximately 3.5 inches of tape followed by a single byte containing the character 13 (hex) for nine-track tapes and 17 (octal) for seven-track tapes.[3] The end-of-tape, commonly abbreviated as EOT, was indicated by two tape marks. This was the standard used, for example, on IBM 360. The reflective strip that was used to announce impending physical end of tape was also called an EOT marker.
See also[edit]
References[edit]
- ^Wayne Pollock. 'Shell Here Document Overview'. hccfl.edu. Archived from the original on 2014-05-29. Retrieved 2014-05-28.
- ^'The GNU C Library'. www.gnu.org.
- ^'Tape Transfer (Pre-1977): Exchange Media: MARC 21 Specifications for Record Structure, Character Sets, and Exchange Media (Library of Congress)'. www.loc.gov.
Macintosh Accent Codes | Windows Character Map | Windows International Keyboard Codes
This page list codes for accented letters and other characters. In order to use these codes, your computer should have a separate numeric keypad on the right. If it does not, then another method of inputting accents is recommended.
Page Content
The list is organized by type. If you need more information on how to type the codes, please read the detailed instructions.
- Letters with Accents - (e.g. ó, ò, ñ)
- Other Foreign Characters - (e.g. ç, ¿, ß)
- Currency Symbols - (e.g. ¢, £, ¥)
- Math Symbols - (e.g. ±, °, ÷)
- Other Punctuation - (e.g. &, ©, §)
- Other Accents and Symbols:Character MapOther Page
- Non-Numeric Accent Codes:Activate International KeyboardOther Page
Letters with Accents
This list is organized by Accent type. To determine the appropriate numeric code, match the accent with the vowel. See the individual By Language pages to see how to handle other accents.
Accent | A | E | I | O | U | Y |
---|---|---|---|---|---|---|
Grave Capital | À 0192 | È 0200 | Ì 0204 | Ò 0210 | Ù 0217 | -- |
Grave Lower Case | à 0224 | è 0232 | ì 0236 | ò 0242 | ù 0249 | -- |
Acute Capital | Á 0193 | É 0201 | Í 0205 | Ó 0211 | Ú 0218 | Ý 0221 |
Acute Lower Case | á 0225 | é 0233 | í 0237 | ó 0243 | ú 0250 | ý 0253 |
Circumflex Capital | Â 0194 | Ê 0202 | Î 0206 | Ô 0212 | Û 0219 | -- |
Circumflex Lower Case | â 0226 | ê 0234 | î 0238 | ô 0244 | û 0251 | -- |
Tilde Capital | Ã 0195 | -- | Ñ 0209 | Õ 0213 | -- | -- |
Tilde Lower Case | ã 0227 | -- | ñ 0241 | õ 0245 | -- | -- |
Umlaut Capital | Ä 0196 | Ë 0203 | Ï 0207 | Ö 0214 | Ü 0220 | Ÿ 0159 |
Umlaut Lower Case | ä 0228 | ë 0235 | ï 0239 | ö 0246 | ü 0252 | ÿ 0255 |
Example: To input the acute a á (0225), hold down the ALT key, type 0225 on the numeric keypad, then release the ALT key.
If you are having problems inputting these codes, please review the instructions for using the codes at the bottom of this Web page.
Windows Symbols Shortcut Keys
Additional Codes
See the Specific Language Page for additional codes for accented characters. Note that codes may only work in Microsoft Office.
Other Foreign Characters
Dell p713w driver downloadwestcoastfree. These include special punctuation and unique consonant and vowel symbols.
SYMBOL | NAME | CODE NUMBER |
---|---|---|
¡ | Upside-down exclamation mark | 0161 |
¿ | Upside-down question mark | 0191 |
Ç, ç | French C cedille (caps/lowecase) | 0199 0231 |
Œ,œ | O-E ligature (caps/lowecase) | 0140 0156 |
ß | German Sharp/Double S | 0223 |
º, ª | Masculine Ordinal Number (Span/Ital/Portuguese) Feminine Ordinal Number | 0186 0170 |
Ø,ø | Nordic O slash (caps/lowecase) | 0216 0248 |
Å,å | Nordic A ring (caps/lowecase), Angstrom sign | 0197 0229 |
Æ, æ | A-E ligature (caps/lowecase) | 0198 0230 |
Þ, þ | Icelandic/Old English Thorn (caps/lowecase) See other Old English Characters | 0222 0254 |
Ð, ð | Icelandic/Old English Eth (caps/lowecase) See other Old English Characters | 0208 0240 |
« » | Spanish/French angle quotation marks | 0171 0187 |
‹ › | Spanish/French angle single quotation marks | 0139 0155 |
Š š | Czech S hachek (S Caron) (caps/lowercase) See other Czech Characters | 0138 0154 |
Ž ž | Czech Z hachek (Z Caron) (caps/lowercase) See other Czech Characters | 0142 0158 |
Additional Codes
See the Specific Language Page for additional codes for additional foreign language characters. Note that codes may only work in Microsoft Office.
Currency Symbols
SYMBOL | NAME | CODE NUMBER |
---|---|---|
¢ | Cent sign | 0162 |
£ | British Pound | 0163 |
€ | Euro currency | 0128 |
¥ | Japanese Yen | 0165 |
ƒ | Dutch Florin | 0131 |
¤ | Generic currency symbol | 0164 |
Math Symbols
SYMBOL | NAME | CODE NUMBER |
---|---|---|
÷ | Division sign | 0247 |
° | Degree symbol | 0176 |
¬ | Not symbol | 0172 |
± | Plus/minus | 0177 |
µ | Micro | 0181 |
‰ | Per Mille (1/1000th) | 0137 |
Fractions
These codes produce fractions which are spaced on one line.
SYMBOL | NAME | CODE NUMBER |
---|---|---|
¼ | Fraction 1/4 | 0188 |
½ | Fraction 1/2 | 0189 |
¾ | Fraction 3/4 | 0190 |
Superscript and Subscript
Check these references for other methods to implement superscript/subscript and extra fractions
In Windows, you can type any character you want by holding down the ALT key, typing a sequence of numbers, then releasing the ALT key. You can type a lot of characters that may not have a corresponding key on your keyboard – such as European language alphabetic characters, ASCII symbols, and even Chinese characters (also known as Hanzi, Kanji. Windows: Type currency symbols. Hold 'Alt' and type the number below using the numeric. In Windows, the Alt key combined with numeric codes can access characters that aren't readily available on a normal keyboard. While Alt codes don't exist on Mac computers, there are a variety of Option key shortcuts that can let you type the most popular characters.
In computing, end-of-file (EOF)[1] is a condition in a computer operating system where no more data can be read from a data source. The data source is usually called a file or stream.
Details[edit]
In the C Standard Library, the character reading functions such as getchar return a value equal to the symbolic value (macro) EOF
to indicate that an end-of-file condition has occurred. The actual value of EOF
is implementation-dependent (but is commonly −1, such as in glibc[2]) and is distinct from all valid character codes. Block-reading functions return the number of bytes read, and if this is fewer than asked for, then the end of file was reached or an error occurred (checking of errno
or dedicated function, such as ferror
is often required to determine which).
EOF character[edit]
Input from a terminal never really 'ends' (unless the device is disconnected), but it is useful to enter more than one 'file' into a terminal, so a key sequence is reserved to indicate end of input. In UNIX the translation of the keystroke to EOF is performed by the terminal driver, so a program does not need to distinguish terminals from other input files. Goldsmith the trap pdf free. By default, the driver converts a Control-D character at the start of a line into an end-of-file indicator. To insert an actual Control-D (ASCII 04) character into the input stream, the user precedes it with a 'quote' command character (usually Control-V). AmigaDOS is similar but uses Control- instead of Control-D.
In DOS and Windows (and in CP/M and many DEC operating systems such as RT-11 or VMS), reading from the terminal will never produce an EOF. Instead, programs recognize that the source is a terminal (or other 'character device') and interpret a given reserved character or sequence as an end-of-file indicator; most commonly this is an ASCIIControl-Z, code 26. Some MS-DOS programs, including parts of the Microsoft MS-DOS shell (COMMAND.COM) and operating-system utility programs (such as EDLIN), treat a Control-Z in a text file as marking the end of meaningful data, and/or append a Control-Z to the end when writing a text file. This was done for two reasons:
- Backward compatibility with CP/M. The CP/M file system only recorded the lengths of files in multiples of 128-byte 'records', so by convention a Control-Z character was used to mark the end of meaningful data if it ended in the middle of a record. The MS-DOS filesystem has always recorded the exact byte-length of files, so this was never necessary on MS-DOS.
- It allows programs to use the same code to read input from both a terminal and a text file.
In the ANSI X3.27-1969 magnetic tape standard, the end of file was indicated by a tape mark, which consisted of a gap of approximately 3.5 inches of tape followed by a single byte containing the character 13 (hex) for nine-track tapes and 17 (octal) for seven-track tapes.[3] The end-of-tape, commonly abbreviated as EOT, was indicated by two tape marks. This was the standard used, for example, on IBM 360. The reflective strip that was used to announce impending physical end of tape was also called an EOT marker.
See also[edit]
References[edit]
- ^Wayne Pollock. 'Shell Here Document Overview'. hccfl.edu. Archived from the original on 2014-05-29. Retrieved 2014-05-28.
- ^'The GNU C Library'. www.gnu.org.
- ^'Tape Transfer (Pre-1977): Exchange Media: MARC 21 Specifications for Record Structure, Character Sets, and Exchange Media (Library of Congress)'. www.loc.gov.
Macintosh Accent Codes | Windows Character Map | Windows International Keyboard Codes
This page list codes for accented letters and other characters. In order to use these codes, your computer should have a separate numeric keypad on the right. If it does not, then another method of inputting accents is recommended.
Page Content
The list is organized by type. If you need more information on how to type the codes, please read the detailed instructions.
- Letters with Accents - (e.g. ó, ò, ñ)
- Other Foreign Characters - (e.g. ç, ¿, ß)
- Currency Symbols - (e.g. ¢, £, ¥)
- Math Symbols - (e.g. ±, °, ÷)
- Other Punctuation - (e.g. &, ©, §)
- Other Accents and Symbols:Character MapOther Page
- Non-Numeric Accent Codes:Activate International KeyboardOther Page
Letters with Accents
This list is organized by Accent type. To determine the appropriate numeric code, match the accent with the vowel. See the individual By Language pages to see how to handle other accents.
Accent | A | E | I | O | U | Y |
---|---|---|---|---|---|---|
Grave Capital | À 0192 | È 0200 | Ì 0204 | Ò 0210 | Ù 0217 | -- |
Grave Lower Case | à 0224 | è 0232 | ì 0236 | ò 0242 | ù 0249 | -- |
Acute Capital | Á 0193 | É 0201 | Í 0205 | Ó 0211 | Ú 0218 | Ý 0221 |
Acute Lower Case | á 0225 | é 0233 | í 0237 | ó 0243 | ú 0250 | ý 0253 |
Circumflex Capital | Â 0194 | Ê 0202 | Î 0206 | Ô 0212 | Û 0219 | -- |
Circumflex Lower Case | â 0226 | ê 0234 | î 0238 | ô 0244 | û 0251 | -- |
Tilde Capital | Ã 0195 | -- | Ñ 0209 | Õ 0213 | -- | -- |
Tilde Lower Case | ã 0227 | -- | ñ 0241 | õ 0245 | -- | -- |
Umlaut Capital | Ä 0196 | Ë 0203 | Ï 0207 | Ö 0214 | Ü 0220 | Ÿ 0159 |
Umlaut Lower Case | ä 0228 | ë 0235 | ï 0239 | ö 0246 | ü 0252 | ÿ 0255 |
Example: To input the acute a á (0225), hold down the ALT key, type 0225 on the numeric keypad, then release the ALT key.
If you are having problems inputting these codes, please review the instructions for using the codes at the bottom of this Web page.
Windows Symbols Shortcut Keys
Additional Codes
See the Specific Language Page for additional codes for accented characters. Note that codes may only work in Microsoft Office.
Other Foreign Characters
Dell p713w driver downloadwestcoastfree. These include special punctuation and unique consonant and vowel symbols.
SYMBOL | NAME | CODE NUMBER |
---|---|---|
¡ | Upside-down exclamation mark | 0161 |
¿ | Upside-down question mark | 0191 |
Ç, ç | French C cedille (caps/lowecase) | 0199 0231 |
Œ,œ | O-E ligature (caps/lowecase) | 0140 0156 |
ß | German Sharp/Double S | 0223 |
º, ª | Masculine Ordinal Number (Span/Ital/Portuguese) Feminine Ordinal Number | 0186 0170 |
Ø,ø | Nordic O slash (caps/lowecase) | 0216 0248 |
Å,å | Nordic A ring (caps/lowecase), Angstrom sign | 0197 0229 |
Æ, æ | A-E ligature (caps/lowecase) | 0198 0230 |
Þ, þ | Icelandic/Old English Thorn (caps/lowecase) See other Old English Characters | 0222 0254 |
Ð, ð | Icelandic/Old English Eth (caps/lowecase) See other Old English Characters | 0208 0240 |
« » | Spanish/French angle quotation marks | 0171 0187 |
‹ › | Spanish/French angle single quotation marks | 0139 0155 |
Š š | Czech S hachek (S Caron) (caps/lowercase) See other Czech Characters | 0138 0154 |
Ž ž | Czech Z hachek (Z Caron) (caps/lowercase) See other Czech Characters | 0142 0158 |
Additional Codes
See the Specific Language Page for additional codes for additional foreign language characters. Note that codes may only work in Microsoft Office.
Currency Symbols
SYMBOL | NAME | CODE NUMBER |
---|---|---|
¢ | Cent sign | 0162 |
£ | British Pound | 0163 |
€ | Euro currency | 0128 |
¥ | Japanese Yen | 0165 |
ƒ | Dutch Florin | 0131 |
¤ | Generic currency symbol | 0164 |
Math Symbols
SYMBOL | NAME | CODE NUMBER |
---|---|---|
÷ | Division sign | 0247 |
° | Degree symbol | 0176 |
¬ | Not symbol | 0172 |
± | Plus/minus | 0177 |
µ | Micro | 0181 |
‰ | Per Mille (1/1000th) | 0137 |
Fractions
These codes produce fractions which are spaced on one line.
SYMBOL | NAME | CODE NUMBER |
---|---|---|
¼ | Fraction 1/4 | 0188 |
½ | Fraction 1/2 | 0189 |
¾ | Fraction 3/4 | 0190 |
Superscript and Subscript
Check these references for other methods to implement superscript/subscript and extra fractions
Additional Math Codes
See the Unicode Math Chart for additional codes for math symbols. Note that they only work in Microsoft Office and that you should use the non-Hex code. For instance an entry ∛ for the cube root symbol (∛) would corrspond to ALT+8731 in Word.
Other Punctuation
These incude copyright symbols and special section marks.
SYMBOL | NAME | CODE NUMBER |
---|---|---|
© | Copyright symbol | 0169 |
® | Registered symbol | 0174 |
™ | Trademark | 0153 |
• | List Dot | 0149 |
§ | Section Symbol | 0167 |
† | Dagger | 0134 |
‡ | Double Dagger | 0135 |
– | en-dash | 0150 |
— | em-dash | 0151 |
¶ | Paragraph Symbol (Pilcrow) | 0182 |
Using the Codes
Windows assigns a numeric code to different accented letters, other foreign characters and special mathematical symbols. For instance the code for lower case á is 0225, and the code for capital Á is 0193. The ALT key input is used to manually insert these letters and symbols by calling the numeric code assigned to them.
To use the codes:
- Place your cursor in the location where you wish to insert a special character.
- Activate the numeric key pad on the right of the keyboard by pressing Num Lock (upper right of keyboard). The Num Lock light on the keyboard will indicate that the numeric key pad is on.
NOTE: You must use the numeric key pad; if you use the number keys on the top of the keyboard, the characters will not appear. If you are on a laptop or computer without a separate numeric keypad one of the other methods is recommended. - While pressing down the ALT key, type the four-digit code on the numeric key pad at the right edge of the keyboard. The codes are 'case sensitive.' For instance, the code for lower-case á is ALT+0225, but capital Á is ALT+0193.
NOTE: If you have the International keyboard activated, you will only be able to input codes with the ALT key on the left side of the keyboard. - Release the ALT key. The character will appear when the ALT key is released.
NOTE: You must include the initial zero in the code. For example to insert á(0225) you must type ALT+0225, NOT ALT+225.
Windows Key Character Map
Links to External Reference Pages
Windows Key Symbol Font
[an error occurred while processing this directive]
Last Modified: Tuesday, 28-Mar-2017 13:44:17 EDT