| 1 |
# This file is part of the Detox package. |
| 2 |
# |
| 3 |
# Copyright (c) Doug Harple <[email protected]> |
| 4 |
# |
| 5 |
# For the full copyright and license information, please view the LICENSE |
| 6 |
# file that was distributed with this source code. |
| 7 |
|
| 8 |
# |
| 9 |
# This table contains some rules for transliterating Window CP-1252 characters |
| 10 |
# into ASCII. |
| 11 |
# |
| 12 |
# Thanks to: |
| 13 |
# - https://en.wikipedia.org/wiki/Windows-1252 |
| 14 |
# |
| 15 |
|
| 16 |
# |
| 17 |
# "default" is commented out because this is not intended to be run in |
| 18 |
# isolation. It should be a prefilter in front of the ISO 8859-1 filter, or, |
| 19 |
# in very rare cases, the UTF-8 one. |
| 20 |
# |
| 21 |
|
| 22 |
# default |
| 23 |
|
| 24 |
start |
| 25 |
|
| 26 |
# |
| 27 |
# CP-1252 Translation - 0x0080-0x009F |
| 28 |
# |
| 29 |
|
| 30 |
0x0080 EUR # EURO SIGN |
| 31 |
0x0082 "'" # SINGLE LOW-9 QUOTATION MARK |
| 32 |
0x0083 f # LATIN SMALL LETTER F WITH HOOK |
| 33 |
0x0084 '"' # DOUBLE LOW-9 QUOTATION MARK |
| 34 |
0x0085 ... # HORIZONTAL ELLIPSIS |
| 35 |
0x0086 + # DAGGER |
| 36 |
0x0087 ++ # DOUBLE DAGGER |
| 37 |
0x0088 ^ # MODIFIER LETTER CIRCUMFLEX ACCENT |
| 38 |
0x0089 % # PER MILLE SIGN |
| 39 |
0x008A S # LATIN CAPITAL LETTER S WITH CARON |
| 40 |
0x008C OE # LATIN CAPITAL LIGATURE OE |
| 41 |
0x008E Z # LATIN CAPITAL LETTER Z WITH CARON |
| 42 |
|
| 43 |
0x0091 "'" # LEFT SINGLE QUOTATION MARK |
| 44 |
0x0092 "'" # RIGHT SINGLE QUOTATION MARK |
| 45 |
0x0093 '"' # LEFT DOUBLE QUOTATION MARK |
| 46 |
0x0094 '"' # RIGHT DOUBLE QUOTATION MARK |
| 47 |
0x0095 * # BULLET |
| 48 |
0x0096 - # EN DASH |
| 49 |
0x0097 - # EM DASH |
| 50 |
0x0098 ~ # SMALL TILDE |
| 51 |
0x0099 _tm_ # TRADE MARK SIGN |
| 52 |
0x009A s # LATIN SMALL LETTER S WITH CARON |
| 53 |
0x009C oe # LATIN SMALL LIGATURE OE |
| 54 |
0x009E z # LATIN SMALL LETTER Z WITH CARON |
| 55 |
0x009F Y # LATIN CAPITAL LETTER Y WITH DIAERESIS |
| 56 |
|
| 57 |
end |