Page 1 of 1

MLE Failed W3C validation UTF-8 "invalid character used"

Posted: Thu Jan 10, 2008 8:43 pm
by jswags
Hi,

Just in case anyone else gets this problem. The "config_lang.php" file included with "cmsmadesimple_diff-mle-vs-cmsms-1.2.3" has an invlaid character so my current site build failed W3C validation.

So within "config_lang.php" you need to change
'flag'=>'',
'text'=>'Français',

TO

'flag'=>'',
'text'=>'Francais',

The ç > c  - remove the cedilla twice

This will only happen if you use the {lang} tag for language selection within your template and if you have French as a choice.

:)

Re: MLE Failed W3C validation UTF-8 "invalid character used"

Posted: Fri Jan 11, 2008 8:33 pm
by alby
jswags wrote: So within "config_lang.php" you need to change
'flag'=>'',
'text'=>'Français',
My mistake not having checked,
the correct item ç are:
utf-8: Français
iso-8859-1: Français


Alby

Re: MLE Failed W3C validation UTF-8 "invalid character used"

Posted: Thu Jan 17, 2008 8:56 pm
by jswags
Great stuff, thanks for that Alby. And thanks so much for doing the MLE version of CMSMS, works like a charm  :)