# \[Pro\] Perch Problem?

**URL:** <https://discourse.softpress.com/t/pro-perch-problem/14216>\
**Category:** Freeway\
**Created:** [May 27, 2012, 7:27pm UTC](https://discourse.softpress.com/t/pro-perch-problem/14216 "2012-05-27T19:27:43Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![RavenManiac](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/r/91b2a8/32.png) [@RavenManiac](https://discourse.softpress.com/u/RavenManiac)\
**Post date:** [May 27, 2012, 7:27pm UTC](https://discourse.softpress.com/t/pro-perch-problem/14216/1 "2012-05-27T19:27:43Z")

</div>

I decided to give Perch a try. I have my SQL database setup and Perch seems to be up in running. I’ve added this code to the page using the Before markup option.

The problem is I don’t know exactly where to add this code:\<?php perch\_content('Intro');?\>

What I did is I selected an HTML Item from within Freeway Pro, then selected “Extended”. In the Extended dialog box I added an “Intro” div with the value “\<?php perch\_content('Intro');?\>”. When I add my content to the Perch control panel and reload the page no content is displaying, so I’m clearly doing something wrong.

Please help. 🙂

* * *

freewaytalk mailing list  
email@hidden  
Update your subscriptions at:  
[http://freewaytalk.net/person/options](http://freewaytalk.net/person/options)

---

<div class="post-metadata">

**Author:** ![Helveticus](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/h/eada6e/32.png) [@Helveticus](https://discourse.softpress.com/u/Helveticus)\
**Post date:** [May 27, 2012, 7:52pm UTC](https://discourse.softpress.com/t/pro-perch-problem/14216/2 "2012-05-27T19:52:24Z")

</div>

Insert the Crowbar action into you HTML item and then add your Perch code snippet to the Crowbar action.

If you do not have the Crowbar action dowload it at [http://actions](http://actions) [forge.com](http://forge.com)

Marcel

Support the ActionsForge Kickstarter campaign  
[http://actionsforge.com/actions/latest#kickstarter](http://actionsforge.com/actions/latest#kickstarter)

* * *

freewaytalk mailing list  
email@hidden  
Update your subscriptions at:  
[http://freewaytalk.net/person/options](http://freewaytalk.net/person/options)

---

<div class="post-metadata">

**Author:** ![RavenManiac](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/r/91b2a8/32.png) [@RavenManiac](https://discourse.softpress.com/u/RavenManiac)\
**Post date:** [May 27, 2012, 7:58pm UTC](https://discourse.softpress.com/t/pro-perch-problem/14216/3 "2012-05-27T19:58:50Z")

</div>

Thanks Marcel. I recall that being discussed before, but at the time I didn’t know why. I just downloaded and tried it and it works perfectly.

* * *

freewaytalk mailing list  
email@hidden  
Update your subscriptions at:  
[http://freewaytalk.net/person/options](http://freewaytalk.net/person/options)

---

<div class="post-metadata">

**Author:** ![RavenManiac](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/r/91b2a8/32.png) [@RavenManiac](https://discourse.softpress.com/u/RavenManiac)\
**Post date:** [May 27, 2012, 8:06pm UTC](https://discourse.softpress.com/t/pro-perch-problem/14216/4 "2012-05-27T20:06:26Z")

</div>

New problem. How do you include special characters like ™,®,“”,— into the Perch content box?

* * *

freewaytalk mailing list  
email@hidden  
Update your subscriptions at:  
[http://freewaytalk.net/person/options](http://freewaytalk.net/person/options)

---

<div class="post-metadata">

**Author:** ![davedesigner](https://discourse.softpress.com/user_avatar/discourse.softpress.com/davedesigner/32/61_2.png) [@davedesigner](https://discourse.softpress.com/u/davedesigner)\
**Post date:** [May 27, 2012, 8:57pm UTC](https://discourse.softpress.com/t/pro-perch-problem/14216/5 "2012-05-27T20:57:22Z")

</div>

What happens when you put…

®

…in to Perch text box?

David

On 27 May 2012, at 21:06, “RavenManiac” [email@hidden](mailto:email@hidden) wrote:

> New problem. How do you include special characters like ™,®,“”,— into the Perch content box?
> 
> * * *
> 
> freewaytalk mailing list  
> email@hidden  
> Update your subscriptions at:  
> [http://freewaytalk.net/person/options](http://freewaytalk.net/person/options)

* * *

freewaytalk mailing list  
email@hidden  
Update your subscriptions at:  
[http://freewaytalk.net/person/options](http://freewaytalk.net/person/options)

---

<div class="post-metadata">

**Author:** ![RavenManiac](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/r/91b2a8/32.png) [@RavenManiac](https://discourse.softpress.com/u/RavenManiac)\
**Post date:** [May 27, 2012, 9:28pm UTC](https://discourse.softpress.com/t/pro-perch-problem/14216/6 "2012-05-27T21:28:52Z")

</div>

I get this: Â®

* * *

freewaytalk mailing list  
email@hidden  
Update your subscriptions at:  
[http://freewaytalk.net/person/options](http://freewaytalk.net/person/options)

---

<div class="post-metadata">

**Author:** ![waltd](https://discourse.softpress.com/user_avatar/discourse.softpress.com/waltd/32/2720_2.png) [@waltd](https://discourse.softpress.com/u/waltd)\
**Post date:** [May 27, 2012, 10:01pm UTC](https://discourse.softpress.com/t/pro-perch-problem/14216/7 "2012-05-27T22:01:26Z")

</div>

Check to see what character set you have set your page to, and your database. MySQL by default uses something similar to Windows Latin, and you have to manually tell it to use Unicode. Your page will most likely be in Unicode. The database will deliver text in a particular character set, and unless it matches exactly the text that the database is sending, you will see what you describe here.

Try fooling with the character set in Freeway first. Try the various encoding options in the Export tab of the Page Inspector. See if any of them work.

If you can’t get it to go, then you’ll have to go back through the database settings and see if you can trick it into using a different charset. You may end up re-entering your data if you go that way. You can’t just convert it in place.

Walter

On May 27, 2012, at 5:28 PM, RavenManiac wrote:

> I get this: Â®
> 
> * * *
> 
> freewaytalk mailing list  
> email@hidden  
> Update your subscriptions at:  
> [http://freewaytalk.net/person/options](http://freewaytalk.net/person/options)

* * *

freewaytalk mailing list  
email@hidden  
Update your subscriptions at:  
[http://freewaytalk.net/person/options](http://freewaytalk.net/person/options)

---

<div class="post-metadata">

**Author:** ![RavenManiac](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/r/91b2a8/32.png) [@RavenManiac](https://discourse.softpress.com/u/RavenManiac)\
**Post date:** [May 27, 2012, 10:16pm UTC](https://discourse.softpress.com/t/pro-perch-problem/14216/8 "2012-05-27T22:16:06Z")

</div>

My default fonts are set to Arabic (ISO 8859-6). I’m assuming this is wrong. What should they be set to?

* * *

freewaytalk mailing list  
email@hidden  
Update your subscriptions at:  
[http://freewaytalk.net/person/options](http://freewaytalk.net/person/options)

---

<div class="post-metadata">

**Author:** ![RavenManiac](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/r/91b2a8/32.png) [@RavenManiac](https://discourse.softpress.com/u/RavenManiac)\
**Post date:** [May 27, 2012, 10:29pm UTC](https://discourse.softpress.com/t/pro-perch-problem/14216/9 "2012-05-27T22:29:56Z")

</div>

Just realized that you were referring to the page level encoding, which is currently set to Auto.

* * *

freewaytalk mailing list  
email@hidden  
Update your subscriptions at:  
[http://freewaytalk.net/person/options](http://freewaytalk.net/person/options)

---

<div class="post-metadata">

**Author:** ![RavenManiac](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/r/91b2a8/32.png) [@RavenManiac](https://discourse.softpress.com/u/RavenManiac)\
**Post date:** [May 27, 2012, 10:35pm UTC](https://discourse.softpress.com/t/pro-perch-problem/14216/10 "2012-05-27T22:35:04Z")

</div>

Walt, I set the page level encoding to Unicode 6 UTF-8 and that worked great. Still interested in what the Default fonts should be set to. 🙂

* * *

freewaytalk mailing list  
email@hidden  
Update your subscriptions at:  
[http://freewaytalk.net/person/options](http://freewaytalk.net/person/options)
