ID:          37902
 Updated by:  [EMAIL PROTECTED]
 Reported By: [EMAIL PROTECTED]
-Status:      Assigned
+Status:      Closed
 Bug Type:    Unicode Engine related
 PHP Version: 6CVS-2006-06-23 (CVS)
 Assigned To: pollita
 New Comment:

I think Sara has fixed this already.


Previous Comments:
------------------------------------------------------------------------

[2006-06-23 15:58:56] [EMAIL PROTECTED]

Description:
------------
It seems that fopen_for_include uses runtime encoding, not filesystem
encoding.

Reproduce code:
---------------
php.ini
-------
unicode_semantics = on
unicode.output_encoding = utf-8
unicode.runtime_encoding = iso-8859-1
unicode.script_encoding = utf-8
unicode.filesystem_encoding = utf-8

f.php
-----
<?php include "café.php"; >

café.php (UTF-8 name)
---------------------
<?php echo "in café\n"; ?>


Expected result:
----------------
in café

Actual result:
--------------
Warning: include(caf?.php): failed to open stream: No such file or
directory in /home/andrei/dev/php-src/f.php on line 1

Warning: include(): Failed opening 'caf?.php' for inclusion
(include_path='.') in /home/andrei/dev/php-src/f.php on line 1



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=37902&edit=1

Reply via email to