ID:               42397
 Updated by:       [EMAIL PROTECTED]
 Reported By:      norraxx at seznam dot cz
-Status:           Open
+Status:           Bogus
 Bug Type:         Directory function related
 Operating System: windows XP Professional (cz)
 PHP Version:      5.2.3
 New Comment:

Windows uses UCS2 internally, I'm pretty sure you're using some
different charset for your scripts, so file/dir funcs fail for obvious
reasons.


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

[2007-08-23 13:04:00] norraxx at seznam dot cz

Description:
------------
functions: opendir, readdir, scandir etc... 
1. can`t read/open russian named directories.
2. question marks are returned as a name of file while reading dir.
3. file exists write when create russian name directory

Reproduce code:
---------------
<?php  
  mkdir('./Îêîí÷àòåëüíóþ'); // there is russian named dir...
  $x = scandir('.');
  print_r($x);
  echo "<br />{$x[2]}\n<br />";
  chdir($x[2]);
  $x = scandir('.');
  print_r($x);
?>

Expected result:
----------------
I explected to create dir "Îêîí÷àòåëüíóþ" and go to this dir.

Actual result:
--------------
Warning: mkdir() [function.mkdir]: File exists in D:\www\bad\index.php
on line 2
Array ( [0] => . [1] => .. [2] => ????????????? [3] => index.php )
?????????????
Array ( [0] => . [1] => .. [2] => ????????????? [3] => index.php )


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


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

Reply via email to