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
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
String.ini
Moderator: mcrossley
- laulau
- Posts: 678
- Joined: Tue 13 Oct 2009 10:52 pm
- Weather Station: WeatherDuino Pro2
- Operating System: Win 7
- Location: Meyenheim, Alsace, FR
- Contact:
String.ini
Hi,
I have accented characters in string.ini, i've converted the file to UTF-8.
In dashboard forecast is ok now.
In internet index.htm it isn't but it's ok in gauges.htm !
Is there an issue or am i doing something wrong ?
I have accented characters in string.ini, i've converted the file to UTF-8.
In dashboard forecast is ok now.
In internet index.htm it isn't but it's ok in gauges.htm !
Is there an issue or am i doing something wrong ?
You do not have the required permissions to view the files attached to this post.
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: String.ini
I'm not sure why it isn't working on the index.htm page, but the realtimegauges file uses <#forecastenc>, so the character gets 'web encoded' as ô which is why it works OK in the gauges ticker.
Steve
- mcrossley
- Posts: 12756
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: String.ini
It's OK I found your MX site.
Did you save index.html as UTF-8 when you edited it?
Did you save index.html as UTF-8 when you edited it?
- laulau
- Posts: 678
- Joined: Tue 13 Oct 2009 10:52 pm
- Weather Station: WeatherDuino Pro2
- Operating System: Win 7
- Location: Meyenheim, Alsace, FR
- Contact:
Re: String.ini
Yes but it look's like the processed file is no longer !mcrossley wrote:It's OK I found your MX site.
Did you save index.html as UTF-8 when you edited it?
- laulau
- Posts: 678
- Joined: Tue 13 Oct 2009 10:52 pm
- Weather Station: WeatherDuino Pro2
- Operating System: Win 7
- Location: Meyenheim, Alsace, FR
- Contact:
Re: String.ini
It seems that all the standard files are not UTF-8 encoded after being processed !
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: String.ini
Mine are - if I look at trends.htm in notepad++, it shows as UTF-8 w/o BOM. Some/all of the others show as ANSI in notepad++ but that's because mine don't have any 'special' characters in them so they look like ANSI. I'm not sure what it is about trends.htm that makes it detectable as UTF-8.
Note that there was a bug with extra files where the utf-8 setting was being saved.
Could you zip up your strings.ini and your amended indexT.htm file, and I'll take a look.
Note that there was a bug with extra files where the utf-8 setting was being saved.
Could you zip up your strings.ini and your amended indexT.htm file, and I'll take a look.
Steve
- laulau
- Posts: 678
- Joined: Tue 13 Oct 2009 10:52 pm
- Weather Station: WeatherDuino Pro2
- Operating System: Win 7
- Location: Meyenheim, Alsace, FR
- Contact:
Re: String.ini
Hi,
I also add the processed index.htm file, you can see that the accented characters are not 'well' encoded.
I also add the processed index.htm file, you can see that the accented characters are not 'well' encoded.
You do not have the required permissions to view the files attached to this post.
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: String.ini
They're all UTF-8, so that isn't the problem. Perhaps I need to do something similar to what I did for the all-time records problem. I'll experiment...
Steve
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: String.ini
I'm having real problems fixing this without breaking the encoding on other things. I think you will have to use <#forecastenc> instead of <#forecast>, for now at least.
Steve
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: String.ini
I have a solution now which just fixes the forecast without breaking anything else. But I think I now have to apply the same thing to some other web tags. At the moment I'm not sure which ones. It's very confusing. Perhaps just the ones from strings.ini...
Steve
- laulau
- Posts: 678
- Joined: Tue 13 Oct 2009 10:52 pm
- Weather Station: WeatherDuino Pro2
- Operating System: Win 7
- Location: Meyenheim, Alsace, FR
- Contact:
Re: String.ini
I've installed last CMX build (3014).
I'm not able to confirm
I noticed something else : my pressure trend tag "$presstrend = ""; "is empty but "$presstrendenglish = "Falling"" isn't!
(OK for the temptrendtext)
I'm not able to confirm
because no accented characters in forecast at the time i'm writing.Accented characters in forecast strings don't display properly on web page - should be fixed in 3014
I noticed something else : my pressure trend tag "$presstrend = ""; "is empty but "$presstrendenglish = "Falling"" isn't!
(OK for the temptrendtext)
- laulau
- Posts: 678
- Joined: Tue 13 Oct 2009 10:52 pm
- Weather Station: WeatherDuino Pro2
- Operating System: Win 7
- Location: Meyenheim, Alsace, FR
- Contact:
Re: String.ini
This morning i can confirm that forecast with accented characters from string.ini is fixed.