|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37945 pathinfo() cannot handle argument with special characters like german "Umlaute"
Submitted: 2006-06-28 10:46 UTC Modified: 2006-07-17 20:36 UTC
From: andreas dot schmidt at stasy dot de Assigned: moriyoshi (profile)
Status: Closed Package: *Directory/Filesystem functions
PHP Version: 5.1.4 OS: Linux
Private report: No CVE-ID: None
 [2006-06-28 10:46 UTC] andreas dot schmidt at stasy dot de


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-06-28 11:08 UTC]
Unicode support will appear only in PHP6, you have to wait until then.
 [2006-06-28 11:20 UTC] andreas dot schmidt at stasy dot de

 [2006-06-29 15:25 UTC]
This, in deed, seems to be a regression introduced in PHP5.
 [2006-07-02 22:30 UTC]
Set the correct value to the LANG (or LC_CTYPE, if necessary) environment variables. The function expects your filesystem's  locale to be the same as the one given by the environment variable. Up to this point you have to set up the libc's locale data too.

If you were to use pathinfo() / dirname() / basename() on URI's, just don't do that. these are not designed to use for such a purpose.

 [2006-07-03 07:13 UTC]

 [2006-07-17 20:36 UTC]
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC