classes/phing/filters/IconvFilter.php
\IconvFilter
Encode data from <code>in</code> encoding to <code>out</code> encoding.
Example:
Or:
- Extends from
- \BaseParamFilterReader
- Implements
- \ChainableReader
- author
- Alexey Shockov,
- copyright
- © 2003 seasonfive. All rights reserved
- package
- phing.filters
- version
- $Revision: 868 $
Properties
Methods

chain(
object $reader
)
:
objectCreates a new IconvFilter using the passed in Reader for instantiation.
| Name | Type | Description |
|---|---|---|
| $reader | object | A Reader object providing the underlying stream. Must not be |
| Type | Description |
|---|---|
| object |

read(
$len
=
null
)
:
\theReturns first n lines of stream.
| Name | Type | Description |
|---|---|---|
| $len |
| Type | Description |
|---|---|
| \the |
- exception
- IOException if the underlying stream throws an IOException during reading

setInputEncoding(
string $encoding
)
:
| Name | Type | Description |
|---|---|---|
| $encoding | string | Input encoding. |