From:             j4f at bk dot ru
Operating system: windows
PHP version:      5.4.8
Package:          *Directory/Filesystem functions
Bug Type:         Feature/Change Request
Bug description:patch for access non-ANSI files/directories

Description:
------------
Windows version of PHP have an very old bug, that not allowing to open
files (directories) that contains UNICODE symbols. It's because it use ANSI
functions to operate with filesystem. I analyze problem, and propose next
solution: take UTF-8 PHP strings, convert them in code to wchar_t, and use
windows UNICODE functions for access filesystem.
My patch demonstrates fully functional workaround. But it is not well
integrated nor optimized.
Please, analyze and integrate this solution into mainline codebase, because
it a very demanded feature.
Best regards, Yury Presnyakov.

Expected result:
----------------
This patch transparently converts UTF-8 strings to UNICODE strings (and
back, if needed). That made possible to access in windows files that
contains non ANSI characters.


-- 
Edit bug report at https://bugs.php.net/bug.php?id=63401&edit=1
-- 
Try a snapshot (PHP 5.4):   
https://bugs.php.net/fix.php?id=63401&r=trysnapshot54
Try a snapshot (PHP 5.3):   
https://bugs.php.net/fix.php?id=63401&r=trysnapshot53
Try a snapshot (trunk):     
https://bugs.php.net/fix.php?id=63401&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=63401&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=63401&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=63401&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=63401&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=63401&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=63401&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=63401&r=notwrong
Not enough info:            
https://bugs.php.net/fix.php?id=63401&r=notenoughinfo
Submitted twice:            
https://bugs.php.net/fix.php?id=63401&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=63401&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63401&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=63401&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=63401&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=63401&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=63401&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=63401&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=63401&r=mysqlcfg

Reply via email to