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

character code mess

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

mm23
Posts: 152
Joined: Mon 03 Feb 2014 12:22 pm
Weather Station: ws 2350
Operating System: windows xp sp3
Location: Europe

character code mess

Post by mm23 »

Somebody help me please....I have a character coding issue.....somewhere utf 8 works and somewhere not. I set utf 8 code everywhere but still does not work:

http://www.vrijemeusibeniku.com/weather ... ja-svi.htm
http://www.vrijemeusibeniku.com/weather ... record.htm
http://www.vrijemeusibeniku.com/weather ... podaci.php

Any suggestion please?

Thanks
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: character code mess

Post by steve »

Cumulus can't currently save any files it processes as UTF-8, they are always saved as ANSI.
Steve
mm23
Posts: 152
Joined: Mon 03 Feb 2014 12:22 pm
Weather Station: ws 2350
Operating System: windows xp sp3
Location: Europe

Re: character code mess

Post by mm23 »

Interesting :) ..... as usual, there's probably a solution?
One of them I suppose is a webtag changes that displays the date in numerical form not as a word?
Whether this could work in a way that instead of e.g the letter "Ž" put "Ž" and where I have to do that? .... On somethingT.html file on a Cumulus computer or in a file on the server something.html......or both?

Any suggestion please?

Thanks
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: character code mess

Post by steve »

All of the date/time web tags have a 'format' parameter which allows you to change the format of the date and/or time. But I think that as the files are actually encoded as iso-8859-1, the charset in the html should say that and not utf-8.
Steve
mm23
Posts: 152
Joined: Mon 03 Feb 2014 12:22 pm
Weather Station: ws 2350
Operating System: windows xp sp3
Location: Europe

Re: character code mess

Post by mm23 »

....yes. Web hosting admin told me something about that. Probably it is a web host issue. Host admin told me last time that is a iso-8859-1 now is in use...

So, Steve what you suggest me to do?
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: character code mess

Post by steve »

The 'charset' in the html is supposed to match the actual encoding of the files. Files 'processed' by Cumulus are always iso-8859-1 encoded. So the charset in those files will have to say iso-8859-1.
Steve
mm23
Posts: 152
Joined: Mon 03 Feb 2014 12:22 pm
Weather Station: ws 2350
Operating System: windows xp sp3
Location: Europe

Re: character code mess

Post by mm23 »

Ok. Thanks.
I will do so, so we'll see....
Image
mm23
Posts: 152
Joined: Mon 03 Feb 2014 12:22 pm
Weather Station: ws 2350
Operating System: windows xp sp3
Location: Europe

Re: character code mess

Post by mm23 »

Hi,

anybody knows is there any way to change "month" names in Culus....I mean "inside" Cumulus?

Thanks
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: character code mess

Post by steve »

It always uses the month names provided by Windows according to the regional settings.
Steve
mm23
Posts: 152
Joined: Mon 03 Feb 2014 12:22 pm
Weather Station: ws 2350
Operating System: windows xp sp3
Location: Europe

Re: character code mess

Post by mm23 »

Thanks Steve!
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: character code mess

Post by steve »

If you're still having problems with utf-8, I'm looking at changing Cumulus so that it can save processed web pages with utf-8 encoding. See this thread - https://cumulus.hosiene.co.uk/viewtopic.php?f=4&t=11869
Steve
mm23
Posts: 152
Joined: Mon 03 Feb 2014 12:22 pm
Weather Station: ws 2350
Operating System: windows xp sp3
Location: Europe

Re: character code mess

Post by mm23 »

Yes Steve, I am trying to menage that issue somehow but with no success.....it is a long story..... :D. I am still trying... It will be real great if you can fix that.
So, what do you think how many times you need to do that?


Thanks!
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: character code mess

Post by steve »

I've uploaded a new build with the UTF-8 option.
Steve
mm23
Posts: 152
Joined: Mon 03 Feb 2014 12:22 pm
Weather Station: ws 2350
Operating System: windows xp sp3
Location: Europe

Re: character code mess

Post by mm23 »

Thanks Steve, well done....

But now I have a different problem. New build has solved my problem with "ž" and "č" letters, but now I have problem with "°C" instead of "°C" , "Ĺľ" instead of "Ž", "ÄŤ" instead of "č".....
New build has solved the problem with the data that are generated by Cumulus PC, but it created a problem with the letters that I wrote?

http://vrijemeusibeniku.com/weather/mak ... ja-svi.htm
http://vrijemeusibeniku.com/weather/tab ... godina.htm
Image
water01
Posts: 3246
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: character code mess

Post by water01 »

Make sure you have "UTF-8" in the charset of all sources and save your sources when editing them as UTF-8 without BOM.
David
Image
Post Reply