The HttpQueryString class
PHP Manual

HttpQueryString::xlate

(PECL pecl_http:0.25.0-1.5.5)

HttpQueryString::xlateChange query strings charset

Описание

public bool HttpQueryString::xlate ( string $ie , string $oe )

Converts the query string from the source encoding ie to the target encoding oe.

Внимание

Don't use any character set that can contain NUL bytes like UTF-16.

Замечание: This method requires ext/iconv to be enabled and loaded.

Список параметров

ie

input encoding

oe

output encoding

Возвращаемые значения

Возвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки.


The HttpQueryString class
PHP Manual