Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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

1078 - problem with accented characters

Please discuss beta versions of Cumulus 1 here. Note: There are currently no beta versions of Cumulus 1.
Locked
User avatar
mlj1
Posts: 63
Joined: Mon 26 Dec 2011 8:14 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Windows 7 SP1
Location: Saint-Brevin les Pins, France
Contact:

1078 - problem with accented characters

Post by mlj1 »

Hi Steve,
Release 1078 introduced errors in some of my webpages without any code modification.
Some accented characters do not appear the way they did before.
I tried to save my pages using Ansi mode, as usual, but without success.
And then, I had to come back to release 1077.
Your suggestions would be appreciated.
Marcel
1078.jpg
You do not have the required permissions to view the files attached to this post.
Marcel Le Jeune F6DOW, Saint-Brevin les Pins, Pays de la Loire, France
Davis VP2+, D-Link wifi IP webcam DCS2130
http://www.meteo-saint-brevin.fr
Image
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: 1078 - problem with accented characters

Post by steve »

There were no intentional changes to the saving of web pages between builds 1077 and 1078, only to the saving of NOAA reports. If the change also affects the saving of web pages somehow, I have no idea why that would be; the code is completely separate, and in any case there's no difference unless you've actually selected the option for the NOAA reports. Have you done that?
Steve
User avatar
mlj1
Posts: 63
Joined: Mon 26 Dec 2011 8:14 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Windows 7 SP1
Location: Saint-Brevin les Pins, France
Contact:

Re: 1078 - problem with accented characters

Post by mlj1 »

No Steve. I did not modify the NOAA settings.
No modification at all. Just upgrade as usual.
And strangely, not all the webpages suffer of the problem.
The problem was on Webcam and System pages mainly.
Marcel Le Jeune F6DOW, Saint-Brevin les Pins, Pays de la Loire, France
Davis VP2+, D-Link wifi IP webcam DCS2130
http://www.meteo-saint-brevin.fr
Image
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: 1078 - problem with accented characters

Post by steve »

I've realised what's happened. I was experimenting to see if I could save processed web pages in UTF-8. I changed the code which saves 'extra' files, and I forgot to change the code back again. I'll have a fixed build available tomorrow - thanks for spotting it.
Steve
User avatar
mlj1
Posts: 63
Joined: Mon 26 Dec 2011 8:14 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Windows 7 SP1
Location: Saint-Brevin les Pins, France
Contact:

Re: 1078 - problem with accented characters

Post by mlj1 »

Thank you Steve.
Marcel Le Jeune F6DOW, Saint-Brevin les Pins, Pays de la Loire, France
Davis VP2+, D-Link wifi IP webcam DCS2130
http://www.meteo-saint-brevin.fr
Image
kapo
Posts: 246
Joined: Thu 03 Jan 2013 1:59 pm
Weather Station: Davis VP2
Operating System: Windows 10
Location: Vihtavuori, Laukaa, Finland

Re: 1078 - problem with accented characters

Post by kapo »

kesä13log.png
Hi

I insert my prob. in this topic, as I have near similar problem. Our finnis month name to june is kesäkuu, and short version is kesä. And ofcourse our new highs and lows which are became in these couple days have date: 01.01.1970. Also my monthlylog named kesä13log.txt is after ftp like attached above. And it should mind nothing to me how it looks, but I can't open / edit or get wieved the text or other data in it... What now?
You do not have the required permissions to view the files attached to this post.
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: 1078 - problem with accented characters

Post by steve »

What build of Cumulus are you using? I fixed the problem that was reported in this thread in build 1079. I don't understand the problem with the file name, I haven't changed anything to do with remote file names. I'm not sure why you're uploading the data log to your ftp server, but if the server can't handle the file names with the Finnish characters in them, change the remote file name to something else when you upload it.
Steve
kapo
Posts: 246
Joined: Thu 03 Jan 2013 1:59 pm
Weather Station: Davis VP2
Operating System: Windows 10
Location: Vihtavuori, Laukaa, Finland

Re: 1078 - problem with accented characters

Post by kapo »

build1079
I ftp those monthly logs to handle those in mySQL. Yes, I can remote the name of that monthly log, but where do that date 01.01.1970 come from?
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: 1078 - problem with accented characters

Post by steve »

kapo wrote:but where do that date 01.01.1970 come from?
Where are you seeing that date?
Steve
kapo
Posts: 246
Joined: Thu 03 Jan 2013 1:59 pm
Weather Station: Davis VP2
Operating System: Windows 10
Location: Vihtavuori, Laukaa, Finland

Re: 1078 - problem with accented characters

Post by kapo »

In my webpage: current records, and weather trends and inNOOA style reports there is my weatherstation name :" SÄÄASEMA" those Ä-characters are wrong, those were before quite right, althought I remember so...
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: 1078 - problem with accented characters

Post by steve »

kapo wrote:In my webpage: current records, and weather trends
I'm not familiar with how Ken's templates work. Where is it getting that date from? What does Cumulus show? The 'default' date in Cumulus is 30/12/1899, I can't see any way that it could come up with a date of 1/1/1970, that's the Unix base date, which suggests that it's coming from the web server.
and inNOOA style reports there is my weatherstation name :" SÄÄASEMA" those Ä-characters are wrong, those were before quite right, althought I remember so...
I changed it so that was an option to select UTF-8 encoding, but the default setting shouldn't have changed anything. See the discussion with "pernaczy" towards the end of this thread: https://cumulus.hosiene.co.uk/viewtopic.p ... &start=135. You could try selecting the UTF-8 option (I assume you haven't already?) which should fix it; but you may have to change the web page (as generated by the PHP) to have charset=utf-8 instead of charset=ISO-8859-1. Unfortunately I don't know enough about of all of this to say whether or not that would affect other things on the page (e.g. the menu). I don't understand how "kesä" is correct but "Sääasema" is not, when they use the same characters. What does the report look like on the screen in Cumulus?

Perhaps those people more expert at web page encodings could comment.
Steve
kapo
Posts: 246
Joined: Thu 03 Jan 2013 1:59 pm
Weather Station: Davis VP2
Operating System: Windows 10
Location: Vihtavuori, Laukaa, Finland

Re: 1078 - problem with accented characters

Post by kapo »

I don't understand a word that post above, except that how NOOAReport screen looks.....
You do not have the required permissions to view the files attached to this post.
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: 1078 - problem with accented characters

Post by steve »

So it's not related to the saving of the file, the characters are wrong to begin with. I've just tried putting Sääasema as my location in the NOAA setup, and it appeared correctly on the NOAA report in Cumulus. Perhaps you could try entering your location again on the NOAA setup screen.
Steve
kapo
Posts: 246
Joined: Thu 03 Jan 2013 1:59 pm
Weather Station: Davis VP2
Operating System: Windows 10
Location: Vihtavuori, Laukaa, Finland

Re: 1078 - problem with accented characters

Post by kapo »

steve wrote:So it's not related to the saving of the file, the characters are wrong to begin with. I've just tried putting Sääasema as my location in the NOAA setup, and it appeared correctly on the NOAA report in Cumulus. Perhaps you could try entering your location again on the NOAA setup screen.
Yep, it seemes to be right now.
But, dare I ask from Ken what is wrong, or do I let that record date to be as it is now and forget about the whole thing?
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: 1078 - problem with accented characters

Post by steve »

If you do a forum search with "1970", you'll find a few threads in the Saratoga Templates, section, e.g. this one: https://cumulus.hosiene.co.uk/viewtopic.p ... hilit=1970
Steve
Locked