The HttpQueryString class
PHP Manual

HttpQueryString::xlate

(PECL pecl_http >= 0.25.0)

HttpQueryString::xlateChange query strings charset

Descrierea

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

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

Avertizare

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

Notă:

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

Parametri

ie

input encoding

oe

output encoding

Valorile întoarse

Întoarce valoarea TRUE în cazul succesului sau FALSE în cazul eșecului.


The HttpQueryString class
PHP Manual