typo, parameter and type fixes
[mdref/mdref-http] / http / QueryString / xlate.md
1 # http\QueryString http\QueryString::xlate($from_enc, $to_enc)
2
3 Translate character encodings of the querystring with ext/iconv.
4
5 > ***NOTE:***
6 > This method is only available when ext/iconv support was enabled at build time.
7
8 ## Params:
9
10 * string $from_enc
11 The encoding to convert from.
12 * string $to_enc
13 The encoding to convert to.
14
15 ## Returns:
16
17 * http\QueryString, self.
18
19 ## Throws:
20
21 * http\Exception\InvalidArgumentException
22 * http\Exception\BadConversionException