Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release
4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release
3.28.6 (build 3283) - 21 March 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
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Other discussion about creating web sites for Cumulus that doesn't have a specific subforum
Moderator: daj
n9mfk
Posts: 845 Joined: Sun 10 May 2009 8:52 pm
Weather Station: davis vp2 Serial datalogger
Operating System: Windows 7 64-bit
Location: Springfield, IL
Post
by n9mfk » Sat 31 Dec 2011 2:16 am
Hi All,
I have w3c html 5 question
if i use utf-8
i get
if i use iso-8859-1
that good but then i get this error
from w3c Using windows-1252 instead of the declared encoding iso-8859-1.
what wood the fix be ?
Beau
mcrossley
Posts: 14388 Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:
Post
by mcrossley » Sat 31 Dec 2011 9:32 am
If you have both declared the file encoding to be utf-8 and 'actually' encoded the file to utf-8 then you should see no corruption. It looks like you missed one or the other. Same for 8859-1, you have possibly declared the file 8859-1, but left the physical encoding as the default Windows 1252.
n9mfk
Posts: 845 Joined: Sun 10 May 2009 8:52 pm
Weather Station: davis vp2 Serial datalogger
Operating System: Windows 7 64-bit
Location: Springfield, IL
Post
by n9mfk » Sat 31 Dec 2011 2:29 pm
hi Mark,
the file are ansi i tried iso-8859-1 but i still get Using windows-1252 instead of the declared encoding iso-8859-1.
Beau
mcrossley
Posts: 14388 Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:
Post
by mcrossley » Sat 31 Dec 2011 2:33 pm
Yes but you have to save the file in the same format as you are declaring within the file - no magic happens to perform the conversion for you.
n9mfk
Posts: 845 Joined: Sun 10 May 2009 8:52 pm
Weather Station: davis vp2 Serial datalogger
Operating System: Windows 7 64-bit
Location: Springfield, IL
Post
by n9mfk » Sat 31 Dec 2011 2:53 pm
hi Mark,
the file are saved in iso-8859-1 but i still get Using windows-1252 instead of the declared encoding iso-8859-1.
Beau
beteljuice
Posts: 3292 Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK
Post
by beteljuice » Sat 31 Dec 2011 4:07 pm
BTW - Most sites based on that template that I have visited display "the alternative character" or gibberish.
Presumeable because it has been encoded / saved in one standard, then edited / saved in another.
...................... Imagine, what you will KNOW tomorrow !
mcrossley
Posts: 14388 Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:
Post
by mcrossley » Sat 31 Dec 2011 4:10 pm
hi beau, attach the file here so we can take a look
n9mfk
Posts: 845 Joined: Sun 10 May 2009 8:52 pm
Weather Station: davis vp2 Serial datalogger
Operating System: Windows 7 64-bit
Location: Springfield, IL
Post
by n9mfk » Sat 31 Dec 2011 7:34 pm
Hi Mak Here are the files
the file im try to fix is the gauges-ss.php
You do not have the required permissions to view the files attached to this post.
mcrossley
Posts: 14388 Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:
Post
by mcrossley » Sat 31 Dec 2011 7:53 pm
beau, they were all encoded as Windows- 1252. I have changed the gauge-ss.php to utf-8 without a BOM, but I have had to add some extended characters to 'fix' the encoding.
You do not have the required permissions to view the files attached to this post.
n9mfk
Posts: 845 Joined: Sun 10 May 2009 8:52 pm
Weather Station: davis vp2 Serial datalogger
Operating System: Windows 7 64-bit
Location: Springfield, IL
Post
by n9mfk » Sat 31 Dec 2011 9:44 pm
Thanks Mark,
What Software did you use ?
thanks Beau
mcrossley
Posts: 14388 Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:
Post
by mcrossley » Sat 31 Dec 2011 10:15 pm
Notepad++ though I normally use Komodo Edit for code now as it syntax checks as you type and is function/object/parameter aware as well.
edit: and the regex search and replace works, unlike Notepad++ where it is very restricted.