Changeset 1761
- Timestamp:
- 08/04/08 23:24:59 (4 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
framework/trunk/src/main/php/net/stubbles/stubClassLoader.php
- Property svn:keywords set to Id
r1372 r1761 6 6 * @author Stephan Schmidt <schst@stubbles.net> 7 7 * @package stubbles 8 * @version $Id$ 8 9 */ 9 10 /** … … 340 341 } 341 342 /** 343 * set internal, input and output encoding 344 */ 345 iconv_set_encoding('internal_encoding', 'UTF-8'); 346 if (($ctype = getenv('LC_CTYPE')) || ($ctype = setlocale(LC_CTYPE, 0))) { 347 sscanf($ctype, '%[^.].%s', $language, $charset); 348 if (is_numeric($charset) === true) { 349 $charset = 'CP' . $charset; 350 } 351 352 iconv_set_encoding('output_encoding', $charset); 353 iconv_set_encoding('input_encoding', $charset); 354 } 355 /** 342 356 * make the stubObject class available so there is no need to include it in 343 357 * every other class that should extend it
