hi, on my website in php i use wt_data_inc.php, with the forecastenc variable, i have a problem with accents : quelques précipitations, très perturbé, the good phrase is : quelques précipitations, très perturbé
utf8-encode is in value before variable, it's ok with cumulus 1.9 not with mx, what can i do please ?
EDIT : just unticked utf8 encode in ftp settings, and it's ok .
Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
bug with forecastenc
Moderator: mcrossley
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: bug with forecastenc
With utf-8 selected, your input file needs to be utf-8 encoded - is it?
When I get time I'll do some experimenting with utf-8 and accents myself.
When I get time I'll do some experimenting with utf-8 and accents myself.
Steve
-
Mopral26
- Posts: 38
- Joined: Thu 11 Jul 2013 7:16 am
- Weather Station: Davis vantage pro II plus solar
- Operating System: win 7
- Location: france
Re: bug with forecastenc
of course all my files are utf8, but when i untick utf8 in cmx options, the accents are displayed correctly.
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: bug with forecastenc
I've just tried this and it works fine for me with a text file, using utf-8. I think your problem must be with how you are using the PHP file.
Steve
-
Mopral26
- Posts: 38
- Joined: Thu 11 Jul 2013 7:16 am
- Weather Station: Davis vantage pro II plus solar
- Operating System: win 7
- Location: france
Re: bug with forecastenc
i don't know, but it' work like a charm now, i don't touch again 