I18Nv2::getInfo (Previous) (Next) I18Nv2::createLocale

View this page in Last updated: Sun, 01 Jul 2007
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

I18Nv2::autoConv()

I18Nv2::autoConv()  -- Automatically transform output between character sets

Leírás

This method utilizes ob_iconv_handler(), so you should call it at the beginning of your script (prior to any output).


<?php
1   require_once 'I18Nv2.php';
2   I18Nv2::autoConv('iso-8859-1', 'utf-8');
3   // ...
?>

Paraméterek

string $ocs

desired output character set

string $ics

current intput character set

Visszatérési érték

Visszatérési értéke TRUE sikeres futás esetén, PEAR_Error amennyiben hiba lépett fel.

Returns PEAR_Error if output buffering couldn't be started.

Megjegyzés

Ez a függvény statikus meghívásra van felkészítve!

Lásd

See also PHPs ob_iconv_handler().

I18Nv2::getInfo (Previous) (Next) I18Nv2::createLocale

Download Documentation Last updated: Sun, 01 Jul 2007
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.