Hi,
I detect a little issue with accent mark in "o" in spanish page name. My $pageName is "MeteoAlmendralejo.es - Servicio Meteorológico de Almendralejo". In the menu, in Info tab the "ó" character is bad codified in UTF8.
Jachym, could you add this line for future release ??
FIX:
menu.php:226
change: $defaultSpecs['aboutPage'] = array("pages/other/aboutPage.php",$pageName,"mticon-logo");
by this: $defaultSpecs['aboutPage'] = array("pages/other/aboutPage.php",utf8_encode($pageName),"mticon-logo");
Thank you very much.
Character Enconding problem in PageName
-
agallardo1980
Re: Character Enconding problem in PageName
Second part... If I modify the menu via admin and save changes, the menu.php is rewrited and I lose this changes
Any suggestion?
Any suggestion?
- Jachym
- Site Admin

- Posts: 1686
- Joined: Fri Aug 18, 2017 10:12 pm
- Location: Brno, Czech Republic
- Station model: WH1080
- Software: Meteobridge
- Contact:
Re: Character Enconding problem in PageName
Usually an easy fix is to use the HTML symbol, ie. something like
&....;
&....;
- Jachym
- Site Admin

- Posts: 1686
- Joined: Fri Aug 18, 2017 10:12 pm
- Location: Brno, Czech Republic
- Station model: WH1080
- Software: Meteobridge
- Contact:
Re: Character Enconding problem in PageName
When you save changes to the menu, these changes should be saved in separate text files in admin/menu/
-
agallardo1980
Re: Character Enconding problem in PageName
Thank you very much Jachym. The simplest solutions always is better 
I fix with this in config:
$pageName = 'MeteoAlmendralejo.es - Servicio Meteorológico de Almendralejo';
Now the sitemap XML work OK, before was empty
Thanks again.
I fix with this in config:
$pageName = 'MeteoAlmendralejo.es - Servicio Meteorológico de Almendralejo';
Now the sitemap XML work OK, before was empty
Thanks again.