HttpQueryString
PHP Manual

HttpQueryString::xlate

(PECL pecl_http >= 0.25.0)

HttpQueryString::xlateChange query strings charset

Descrizione

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

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

Avviso

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

Nota:

This method requires ext/iconv to be enabled and loaded.

Elenco dei parametri

ie

input encoding

oe

output encoding

Valori restituiti

Restituisce TRUE in caso di successo, FALSE in caso di fallimento.


HttpQueryString
PHP Manual