Page 1 of 1

bug with forecastenc

Posted: Fri 20 Nov 2015 10:13 pm
by Mopral26
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 .

Re: bug with forecastenc

Posted: Sat 21 Nov 2015 11:34 am
by steve
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.

Re: bug with forecastenc

Posted: Mon 23 Nov 2015 3:54 pm
by Mopral26
of course all my files are utf8, but when i untick utf8 in cmx options, the accents are displayed correctly.

Re: bug with forecastenc

Posted: Mon 23 Nov 2015 5:23 pm
by steve
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.

Re: bug with forecastenc

Posted: Mon 23 Nov 2015 5:26 pm
by Mopral26
i don't know, but it' work like a charm now, i don't touch again ;)