Changeset 1801
- Timestamp:
- 08/31/08 16:58:39 (4 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
labs/incubator/lib/stubbles.php
r1722 r1801 476 476 * @author Stephan Schmidt <schst@stubbles.net> 477 477 * @package stubbles 478 * @version $Id: stubClassLoader.php 1761 2008-08-04 21:24:59Z mikey $ 478 479 */ 479 480 /** … … 810 811 } 811 812 /** 813 * set internal, input and output encoding 814 */ 815 iconv_set_encoding('internal_encoding', 'UTF-8'); 816 if (($ctype = getenv('LC_CTYPE')) || ($ctype = setlocale(LC_CTYPE, 0))) { 817 sscanf($ctype, '%[^.].%s', $language, $charset); 818 if (is_numeric($charset) === true) { 819 $charset = 'CP' . $charset; 820 } 821 822 iconv_set_encoding('output_encoding', $charset); 823 iconv_set_encoding('input_encoding', $charset); 824 } 825 /** 812 826 * make the stubObject class available so there is no need to include it in 813 827 * every other class that should extend it … … 822 836 'net::stubbles::lang::serialize::stubSerializedObject' 823 837 ); 824 ?><?php __halt_compiler();star44 020080720180530net::stubbles::console::stubConsoleCommand
