Details |
Last modification |
View Log
| RSS feed
| Rev |
Author |
Line No. |
Line |
| 1463 |
alexandre_ |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
/**
|
|
|
4 |
* Automatically transform output charset
|
|
|
5 |
* ======================================
|
|
|
6 |
*
|
|
|
7 |
* I18Nv2 provides an easy way to utilize the ob_iconv_handler() through
|
|
|
8 |
* I18Nv2::autoConv($output_charset, $input_charset).
|
|
|
9 |
*
|
|
|
10 |
* $Id: transform_output_charset.php,v 1.1 2007-06-25 09:55:25 alexandre_tb Exp $
|
|
|
11 |
*/
|
|
|
12 |
|
|
|
13 |
require_once 'I18Nv2.php';
|
|
|
14 |
|
|
|
15 |
// Writing a shell app that should also display nicely in a DOS box
|
|
|
16 |
if (I18Nv2_WIN) {
|
|
|
17 |
I18Nv2::autoConv('CP850');
|
|
|
18 |
}
|
|
|
19 |
|
|
|
20 |
// output some latin1 stuff
|
|
|
21 |
echo "äüöß\n";
|
|
|
22 |
|
|
|
23 |
?>
|