Single Quotes converting to ' in titles - How to Cha

Having trouble installing serendipity?
Post Reply
elvisanderson
Regular
Posts: 15
Joined: Wed Jan 25, 2006 5:14 pm

Single Quotes converting to ' in titles - How to Cha

Post by elvisanderson »

Anyone know why this would happen? It doesn't occour in the text of the entry, just in the title.

Thanks!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Single Quotes converting to ' in titles - How to

Post by garvinhicking »

Can you show us a URL? It might happen because of UTF-8 or htmlspecialchars() encoding, or maybe also because of your browser.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
elvisanderson
Regular
Posts: 15
Joined: Wed Jan 25, 2006 5:14 pm

Post by elvisanderson »

Here it is:

http://www.adventurecanada.com/acblog/i ... World-News

Thanks! That was sooo fast!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

It seems to me that you entered a typographic quote as the title of your entries? Only characters within the default character set are allowed as entry titles, because else they get converted by the browser to HTML entities which are then turned into HTML entities by serendipity again - leading to "&#39" instead of "'". You can't use HTML in the entry title (because of portability and display safety reasons), so you'll have to edit your title and insert a simple "'" there...

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply