HttpQueryString::xlate
(PECL pecl_http:0.25.0-1.5.5)
HttpQueryString::xlate — Change query strings charset
LeÃrás
public
bool HttpQueryString::xlate
( string $ie
, string $oe
)
Converts the query string from the source encoding ie to the target encoding oe.
Warning
Don't use any character set that can contain NUL bytes like UTF-16.
Note: This method requires ext/iconv to be enabled and loaded.
Paraméterek
- ie
-
input encoding
- oe
-
output encoding
Visszatérési értékek
Siker esetén TRUE értékkel tér vissza, ellenkező esetben FALSE értéket ad.