Menu Text, Title, & Breadcrumbs characters not rendering out using iso-8859-1

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
joecannes
Forum Members
Forum Members
Posts: 93
Joined: Mon Nov 26, 2007 5:00 pm
Location: Montreal, Quebec

Menu Text, Title, & Breadcrumbs characters not rendering out using iso-8859-1

Post by joecannes »

Hi all,

I moved this from to the developer discussion, I have just installed CMSMS 1.5.2, and when I create a page, my menu text, title, and breadcrumbs do not render out the HTML characters when I view the source code, using iso-8859-1 as my character set.

For example, when I view the source of my page, the word Montréal renders out as:

Code: Select all

Montréal
when it should be:

Code: Select all

Montréal
I have done the following:

1. Updated my config file by changing the default coding to iso-8859-1:

Code: Select all

$config['default_encoding'] = 'iso-8859-1';
2.  Under Site Admin > Global Settings, I have changed the Global Metadata to the following:

Code: Select all

<meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/>
3. Under Extensions > TinyMCE > Advanced tab, I changed Encoding of entities to "Named encoding" (which renders out fine when I put in the word "Montréal" )

Any suggestions on how to get this working, or if anyone ran into the same problems? Personally, I dont mind using UTF-8, but government of Canada site regulations want me to use iso-8859-1.

http://www.tbs-sct.gc.ca/clf2-nsi2/tb-b ... so-eng.asp

FYI, I can use numeric characters as well, does not have to be named characters:

Thanks,

Joe Cannes
SimonSchaufi

Re: Menu Text, Title, & Breadcrumbs characters not rendering out using iso-8859-1

Post by SimonSchaufi »

é is correct and even better.
To ensure that documents are fully compliant with the XHTML 1.0 Strict specification and are supported by all browsers, use only the named or numeric character entities listed in the table.
Last edited by SimonSchaufi on Fri Mar 20, 2009 11:36 pm, edited 1 time in total.
Post Reply

Return to “Developers Discussion”