Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: CMS Builder:
Weird Symbols

 

 


dustindd
User

Mar 12, 2010, 11:42 AM

Post #1 of 2 (1335 views)
Shortcut
Weird Symbols Can't Post

I'm getting weird symbols  “ instead of spaces and quotes in some of my pages generated through CMS Builder... I've tried re-importing my text in CMS Builder but I keep getting the same problem. Examples: http://www.dustindrorbaugh.com/html/news_and_articles.php Just click on any article to see what I mean.

Any ideas?
Dustin Drorbaugh
http://www.DustinDrorbaugh.com

Follow Me On Twitter: http://www.twitter.com/dustindd


gkornbluth
Veteran

Mar 12, 2010, 3:40 PM

Post #2 of 2 (1329 views)
Shortcut
Re: [dustindd] Weird Symbols [In reply to] Can't Post

Hi Dustitn,

The normal character set that's used by CMS Builder and generated by the code generator is uft-8

At the top of the page

Code
<?php header('Content-type: text/html; charset=utf-8'); ?>

and in the head section

Code
  <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />


You page is using ISO 8869-1

Code
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">


Try changing that and your page should display correctly.

Best,

Jerry Kornbluth
The first CMS Builder reference book is now available on-line!
http://www.thecmsbcookbook.com