mixed autoConv(
[string
$ocs = 'UTF-8'], [string
$ics = 'ISO-8859-1'])
|
|
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 output). If any output buffering has been started before, the contents will be fetched with ob_get_contents() and the buffers will be destroyed by ob_end_clean().
<?php
require_once('I18Nv2.php');
print('...'); // some iso-8859-1 stuff gets converted to Windows-1252
// ...
?>
Parameters:
array langs2locales(
array
$languages)
|
|
Traverse languages to locales
Returns en_US, de_DE from en-US and de-DE
Parameters:
array locales2langs(
array
$locales)
|
|
Traverse locales to languages
Returns en-US, de-DE from en_US and de_DE
Parameters: