annotate 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
rev   line source
Chris@0 1 # Configuration
Chris@0 2
Chris@0 3 `Zend\Escaper\Escaper` has only one configuration option available, and that is
Chris@0 4 the encoding to be used by the `Escaper` instance.
Chris@0 5
Chris@0 6 The default encoding is **utf-8**. Other supported encodings are:
Chris@0 7
Chris@0 8 - iso-8859-1
Chris@0 9 - iso-8859-5
Chris@0 10 - iso-8859-15
Chris@0 11 - cp866, ibm866, 866
Chris@0 12 - cp1251, windows-1251
Chris@0 13 - cp1252, windows-1252
Chris@0 14 - koi8-r, koi8-ru
Chris@0 15 - big5, big5-hkscs, 950, gb2312, 936
Chris@0 16 - shift\_jis, sjis, sjis-win, cp932
Chris@0 17 - eucjp, eucjp-win
Chris@0 18 - macroman
Chris@0 19
Chris@0 20 If an unsupported encoding is passed to `Zend\Escaper\Escaper`, a
Chris@0 21 `Zend\Escaper\Exception\InvalidArgumentException` will be thrown.