Author |
Topic  |
|
DarrenLuxton
Junior Member
 
184 Posts |
Posted - 15 October 2008 : 07:45:56
|
Hi all, i've been looking around for an answer to this, but can't seem to find one.
Basically, i'm haveing a problem displaying special characters in my links specificall the % sign.
Ok, this is the deal, i want to add a new link that contains the % sign, example http://www.wowwiki.com/Eye_%28Tempest_Keep%29
Now, i've checked the database, and thats exactly what is written it the field, however, when viewing this url via the links manager it seems to add extra info to the link itself. This is what the links.asp is outputting: http://www.wowwiki.com/Eye_%2528Tempest_Keep%2529
As you can see, whenever it sees the $ sign, it adds a 25 to the output.
I've been looking in the Inc_func_links.asp but can't seem to find anything regarding this, any help much appreciated.
Thanks in advance< |
|
AnonJr
Moderator
    
United States
5768 Posts |
Posted - 15 October 2008 : 08:57:08
|
The percent sign is a special character. I'm willing to bet that somewhere in the Links Manager code it is URL encoding the URL, which is encoding all "%" as "%25" - if I remember correctly "%25" is the URL encoded form of the "%". More likely than not the "%29" already in the URL is from some other special character that has already been encoded.
As far as how you want to fix the problem, that's another issue. The URL encoding is done for a reason, and I'm not sure you want to bypass it. What options that leaves, I'll have to think over while I try to wake up with this cup of coffee. Floor's open to anyone with a bright idea. < |
 |
|
Shaggy
Support Moderator
    
Ireland
6780 Posts |
Posted - 16 October 2008 : 04:38:22
|
If the URL is being encoded before being displayed, then simply replacing the %28 and %29 with the actual characters should solve your problem - I think they are, respectively, ( and ).
< |
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
 |
|
|
Topic  |
|
|
|