SitePoint Sponsor |
|
User Tag List
Results 1 to 5 of 5
Thread: Special characters in filename
-
Oct 27, 2008, 11:32 #1
- Join Date
- Jul 2008
- Posts
- 188
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Special characters in filename
Hi all,
I am trying to link to the following filename:
uk-high-street-banks-own-£95bn-assets-that-could-qualify-for-us-financial-package.php
If I try to follow a link to the above, I get a page not found error "The requested URL /treasury-must-guarantee-�40bn-of-assets-to-sell-off-Bradford-and-Bingley.php was not found on this server."
In order to get this to work, I am replacing the '£' symbol for £ which seems to work fine when I upload to my server.
The problem is that this link doesn't work in my WAMP localhost environment and instead I get the error "Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0"
Can anyone please tell me the correct way to replace £ symbol for use in URLs.
-
Oct 27, 2008, 12:06 #2
- Join Date
- Nov 2004
- Location
- Ankh-Morpork
- Posts
- 12,158
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Try uk-high-street-banks-own-%A395bn-assets-that-could-qualify-for-us-financial-package.php
Birnam wood is come to Dunsinane
-
Oct 27, 2008, 12:28 #3
- Join Date
- Jul 2008
- Posts
- 188
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Hi, Thanks for the fast reply.
I tried using %A3 instead but now I get a 404 Forbidden error page on my WAMP server. If I upload to main server, %A3 works.
Do you think there's a setting in my WAMP config to allow these types of URL?
-
Oct 27, 2008, 18:00 #4
Use better URLs? I go cross eye trying to read that long long long file name...
-
Oct 28, 2008, 03:39 #5
- Join Date
- Jul 2008
- Posts
- 188
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Hi logic_earth. The reason I've made the filename long is because it is an article of which I have hundreds. The article title is derived from the url and so it needs to be like this.
I'm pretty convinced this is a problem with a setting in my WAMP server as everything works fine when I upload to my main server. If I type in the url directly for WAMP, the same error message appears so it can't be a problem with the link itself.
Bookmarks