downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

The HttpRequest> <HttpQueryString::toString
Last updated: Thu, 05 Nov 2009

view this page in

HttpQueryString::xlate

(PECL pecl_http >= 0.25.0)

HttpQueryString::xlateChange query strings charset

Description

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.

Parameters

ie

input encoding

oe

output encoding

Return Values

Returns TRUE on success or FALSE on failure.



add a note add a note User Contributed Notes
HttpQueryString::xlate
There are no user contributed notes for this page.

The HttpRequest> <HttpQueryString::toString
Last updated: Thu, 05 Nov 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites