Self Links and Apostrophes

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
lodestone
New Member
New Member
Posts: 2
Joined: Sun Jan 31, 2010 1:33 am

Self Links and Apostrophes

Post 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
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Self Links and Apostrophes

Post by RonnyK »

And without the escaping \?

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

Ronny
Peciura

Re: Self Links and Apostrophes

Post 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 ?
Post Reply

Return to “CMSMS Core”