Page 1 of 1

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

Posted: Fri Mar 13, 2009 1:15 pm
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

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

Posted: Fri Mar 20, 2009 11:31 pm
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.