1DETOX.TBL(5)                BSD File Formats Manual               DETOX.TBL(5)
2

NAME

4     detox.tbl — translation table for detox(1)
5

OVERVIEW

7     detox allows for configuration of how the ISO 8859-1 and UTF-8 (Unicode)
8     filters operate.  Through text based translation tables, it is possible
9     to tune how these character sets are interpreted.
10

SYNTAX

12     The format of the translation tables is simple.  There are two levels:
13     one containing meta data and one containing the actual translations.
14
15     default _
16         Default specifies the default translation for a character.  An empty
17         or nonexistent default indicates that any unknown character should
18         fall through to the next filter.  In this manner, it is possible to
19         chain together multiple translation tables in a sequence.
20
21     start
22         Indicates the start of a value list within the translation table.
23
24     start lang
25         Indicates the start of a language specific value list within the
26         translation table.
27
28     end
29         Indicates the end of a value list within the translation table.
30
31     value translation
32         Value can be specified in decimal (1), hex (0x01) or octal (01).  The
33         same rules that apply to sscanf apply here.
34
35         Translation can be a string or a quoted string, with either single or
36         double quotes.
37

EXAMPLE

39     default   _
40     start
41     0x0101    a
42     0x0102    b
43     end
44

SEE ALSO

46     detox(1), detoxrc(5).
47

AUTHORS

49     detox was written by Doug Harple.
50
51BSD                             August 3, 2004                             BSD
Impressum