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

Last updated: Sun, 16 May 2004

I18Nv2::autoConv()

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

Описание

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   // ...
?>

Параметр

string $ocs

desired output character set

string $ics

current intput character set

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

Возвращает TRUE при удаче и PEAR_Error в обратном случае.

Returns PEAR_Error if output buffering couldn't be started.

Заметка

Эта функция должна вызываться статически.

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

Download Documentation Last updated: Sun, 16 May 2004
Hosting
HIVE: All information for read only. Please respect copyright!
Hosted by hive йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ