mh2design Forums

Development => Mambo - Addons => Topic started by: Mick on November 24, 2008, 11:23:09 PM



Title: Re: French accents
Post by: Mick on November 24, 2008, 11:23:09 PM
Make sure your database is set to the proper mode, I think Latin.

You probably also need to set the language on the CMS backend.


Title: Re: French accents
Post by: Mick on November 25, 2008, 08:39:29 AM
So, just to make sure ... is it all working now?


Title: Re: French accents
Post by: Mick on November 25, 2008, 11:03:21 AM
OK --- At the beginning of your template you probably have something that looks like this:


Code:
  $iso = split( '=', _ISO );
  echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';

The change that I would suggest as a first attempt to repair this is to replace that code with the following:

Code:
  echo '<?xml version="1.0" encoding="ISO-8859-1"?' .'>';

Hopefully, that takes care of the issue


Title: Re: French accents
Post by: Mick on November 25, 2008, 05:55:43 PM
No, sorry --- the index.php


Title: Re: French accents
Post by: Mick on November 25, 2008, 11:20:36 PM
Try changing this:

Code:

?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

To this:

Code:
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?xml version="1.0" encoding="ISO-8859-1"?>
<html xmlns="http://www.w3.org/1999/xhtml">