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)
<?php
require_once('I18Nv2.php');
print('...'); // some utf-8 stuff gets converted to iso-8859-1
// ...
?>
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: