comparison vendor/zendframework/zend-escaper/doc/book/configuration.md @ 0:4c8ae668cc8c

Initial import (non-working)
author Chris Cannam
date Wed, 29 Nov 2017 16:09:58 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4c8ae668cc8c
1 # Configuration
2
3 `Zend\Escaper\Escaper` has only one configuration option available, and that is
4 the encoding to be used by the `Escaper` instance.
5
6 The default encoding is **utf-8**. Other supported encodings are:
7
8 - iso-8859-1
9 - iso-8859-5
10 - iso-8859-15
11 - cp866, ibm866, 866
12 - cp1251, windows-1251
13 - cp1252, windows-1252
14 - koi8-r, koi8-ru
15 - big5, big5-hkscs, 950, gb2312, 936
16 - shift\_jis, sjis, sjis-win, cp932
17 - eucjp, eucjp-win
18 - macroman
19
20 If an unsupported encoding is passed to `Zend\Escaper\Escaper`, a
21 `Zend\Escaper\Exception\InvalidArgumentException` will be thrown.