Page 1 of 2

character code mess

Posted: Tue 22 Apr 2014 8:48 pm
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

Re: character code mess

Posted: Tue 22 Apr 2014 9:39 pm
by steve
Cumulus can't currently save any files it processes as UTF-8, they are always saved as ANSI.

Re: character code mess

Posted: Wed 23 Apr 2014 6:33 am
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

Re: character code mess

Posted: Wed 23 Apr 2014 6:45 am
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.

Re: character code mess

Posted: Wed 23 Apr 2014 6:57 am
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?

Re: character code mess

Posted: Wed 23 Apr 2014 7:09 am
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.

Re: character code mess

Posted: Wed 23 Apr 2014 7:14 am
by mm23
Ok. Thanks.
I will do so, so we'll see....

Re: character code mess

Posted: Wed 23 Apr 2014 9:44 pm
by mm23
Hi,

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

Thanks

Re: character code mess

Posted: Thu 24 Apr 2014 6:35 am
by steve
It always uses the month names provided by Windows according to the regional settings.

Re: character code mess

Posted: Thu 24 Apr 2014 11:59 am
by mm23
Thanks Steve!

Re: character code mess

Posted: Thu 24 Apr 2014 12:03 pm
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

Re: character code mess

Posted: Fri 25 Apr 2014 10:58 pm
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!

Re: character code mess

Posted: Sun 27 Apr 2014 8:04 am
by steve
I've uploaded a new build with the UTF-8 option.

Re: character code mess

Posted: Sun 27 Apr 2014 10:51 pm
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

Re: character code mess

Posted: Sun 27 Apr 2014 11:31 pm
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.