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
MXdiags - file encoding
Moderator: mcrossley
-
- Posts: 1183
- Joined: Fri 27 Jul 2012 11:29 am
- Weather Station: Chas O, Maplin N96FY, N25FR
- Operating System: rPi 3B+ with Buster (full)
MXdiags - file encoding
Content deleted
Last edited by sfws on Sun 10 Apr 2022 2:33 pm, edited 1 time in total.
-
- Posts: 2473
- Joined: Wed 08 Jun 2011 11:19 am
- Weather Station: Davis Vantage Pro 2 + Ecowitt
- Operating System: GNU/Linux Ubuntu 22.04 LXC
- Location: Alcaston, Shropshire, UK
- Contact:
Re: MXdiags - file encoding
I've just checked on my system:
So it looks like UTF-8.
Have you tried using a terminal window, and a command such as 'cat' or 'more'?
Code: Select all
root@weather:/opt/CumulusMX/MXdiags# file 20220323-054000.txt
20220323-054000.txt: HTML document, UTF-8 Unicode text, with very long lines
Have you tried using a terminal window, and a command such as 'cat' or 'more'?
- 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: MXdiags - file encoding
It's a system provided logging service, but the encoding used (default) is UTF-8.
-
- Posts: 1183
- Joined: Fri 27 Jul 2012 11:29 am
- Weather Station: Chas O, Maplin N96FY, N25FR
- Operating System: rPi 3B+ with Buster (full)
Re: MXdiags - file encoding
Content removed
Last edited by sfws on Sun 10 Apr 2022 2:31 pm, edited 1 time in total.
-
- Posts: 2473
- Joined: Wed 08 Jun 2011 11:19 am
- Weather Station: Davis Vantage Pro 2 + Ecowitt
- Operating System: GNU/Linux Ubuntu 22.04 LXC
- Location: Alcaston, Shropshire, UK
- Contact:
Re: MXdiags - file encoding
You didn't ask for an explanation - you asked for the encoding which I supplied. I suggested the terminal as an alternative.
- 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: MXdiags - file encoding
I have had a look at the files being generated on Windows and my Raspberry Pi's with a hex editor, none of them are generating log files with a BOM or any sort of header - they are straight-up plain text files.
-
- Posts: 884
- Joined: Sat 16 Jul 2016 11:59 pm
- Weather Station: Davis VP2+ & GW1000 (Standalone)
- Operating System: Win10 Pro / rPi Buster
- Location: Australia
Re: MXdiags - file encoding
Sounds like something weird going on within your OS.
Every editor I've opened on my Pi's has been fine with all files.
Geany is my main go to editor on the Pi, only using Nano for the likes of Crontabs.
Sudo Geany [Filename] works for root edits.
If you have a spare card or another Pi, you could test the files opening there.
Also as mentioned, I do also open files in NotePad++ vis a WinSCP connection & don't see anything but raw txt.
Every editor I've opened on my Pi's has been fine with all files.
Geany is my main go to editor on the Pi, only using Nano for the likes of Crontabs.
Sudo Geany [Filename] works for root edits.
If you have a spare card or another Pi, you could test the files opening there.
Also as mentioned, I do also open files in NotePad++ vis a WinSCP connection & don't see anything but raw txt.
:Now: :Today/Yesterday:
Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station: