View Single Post
  #1 (permalink)  
Old 03-29-2007, 12:04 PM
TrailofDead TrailofDead is offline
Casual Pligger
 
Join Date: Mar 2007
Posts: 48
Thanks: 0
Thanked 13 Times in 6 Posts
URL Method 2 problem with strange character

I've done the update to utils.php to handle other characters to avoid this problem, but....

If you look at www.acttup.com there is a story titled "Red McCombs, One of Gov. Perry’s Top Donors Pushes Double Tax Tolls".

Trying to click on the read more or discuss links gets a 404. If you look at the url, the apostrophe is some weird association of characters. It shows up fine in html and even pasted here ok, but gets stored in the db strangely.

Looking at the logs, this story was submitted by a Mac user using Firefox:

Code:
"Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.11) Gecko/2007
0312 Firefox/1.5.0.11"
How do I determine what this character is so that I can get it replaced in the makeUrlFriendly function in utils.php?
Reply With Quote