| Syntax: | charset_map charset1 charset2 { ... } |
| Default: | |
| Context: | http |
| Reference: | charset_map |
The directive charset_map describes the table of reencoding from one encoding into another. A table for the inverse reencoding is created using the same data. The codes of symbols are assigned in hexadecimal form. If no recorded symbols are in the range 80-FF they will be substituted with '?'.
Example usage:
charset_map koi8-r windows-1251 { C0 FE ; # small yu C1 E0 ; # small a C2 E1 ; # small b C3 F6 ; # small ts # ... }
The complete table of conversion from koi8-r into Windows-1251 is distributed with nginx and is located in file conf/koi-win.