NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
international characters in file names


Joined: 09 Oct 2006
Posts: 21
Reply with quote
Under the IDE, php script it uses links like this one
Code:
href="archives_links/bellivière_jerome.php"
works perfectly. (of course, the è is coded &#232 ; )

It is not the case with all configurations, you likely get:
Quote:
Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0

Fatal error: Unknown: Failed opening required 'E:/lpv/html/archives_links/bellivière_jerome.php' (include_path='.;C:\Program Files\nusphere\phped\include_lib') in Unknown on line 0


or in the server error_log
Quote:
archives_links/bellivi\xc3\xa8re_jerome.php' not found or unable to stat


What is the magic directive (http.conf, php.ini??) it allows accents in URL?
View user's profileFind all posts by Bertrand Le GuernSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Quote:
or in the server error_log
archives_links/bellivi\xc3\xa8re_jerome.php' not found or unable to stat


It is the first thing you have to fix, or you have to stop using international characters.

error_log is a log file produced by Apache server. Please read Apache documentation on how to deal with files containing non-ASCII characters in their names.

Quote:
It is not the case with all configurations, you likely get:
Fatal error: Unknown: Failed opening required 'E:/lpv/html/archives_links/bellivière_jerome.php' (include_path='.;C:\Program Files\nusphere\phped\include_lib') in Unknown on line


this is another error that may be fixed as soon as you fix Apache configuration. If not, please proceed with PHP manual.

In both cases, PhpED has no relation to the problem. It works with non-ASCII characters transparenty. I mean PhpED IDE and built-in SRV server. They both support unicode. As of PHP, it is not unicode and its behaviour depends on the platform locale (ANSI code page selected for non-unicode programs in case of Windows platform)

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
international characters in file names
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic