Page 1 of 1

Self Links and Apostrophes

Posted: Fri Mar 19, 2010 5:20 am
by lodestone
All,

Sorry for the reposting but it's been quite a while with no solutions to this problem. I applied the latest update since then. (No resolution.)

Version 1.6.7 on Linux server w/ Apache version 2.0.63 PHP version 5.2.8 MySQL version 5.0.85-community.

I have several pages that need to have apostrophes in their names. When self-linking those pages, the escape character (\) shows up not only before each apostrophe but also at the start of the page name (along with another apostrophe) and the page name is cut off after the first word. I did not manually escape the apostrophes. This is truly bizarre behavior.

Examples:

10. Serenaded By Angels
11. \'It\'s
12. God Bless America

4. Jesus Is Faithful
5. \'He\'ll
6. My Comfort
7. Singing In the Rain
8. \'Father\'s

Numbers 11, 5 and 8 should read "It's Lucky We Met," "He'll Deliver Me" and "Father's Compassion," respectively.

Anyone know how to fix this?

Thanks much.

--Allen

Re: Self Links and Apostrophes

Posted: Fri Mar 19, 2010 6:06 am
by RonnyK
And without the escaping \?

As I dont use that in my page-names..

Ronny

Re: Self Links and Apostrophes

Posted: Fri Mar 19, 2010 9:51 am
by Peciura
I have just tried {cms_selflink} on test site with apostrophe - it works no probs. Link looks like Ć aldy'tuvai .

What is encoding of fields `content_name` and `menu_text` on table `cms_content` ? Is it utf-8 ?