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

MXdiags - file encoding

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
sfws
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

Post by sfws »

Content deleted
Last edited by sfws on Sun 10 Apr 2022 2:33 pm, edited 1 time in total.
freddie
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

Post by freddie »

I've just checked on my system:

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
So it looks like UTF-8.

Have you tried using a terminal window, and a command such as 'cat' or 'more'?
Freddie
Image
User avatar
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

Post by mcrossley »

It's a system provided logging service, but the encoding used (default) is UTF-8.
sfws
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

Post by sfws »

Content removed
Last edited by sfws on Sun 10 Apr 2022 2:31 pm, edited 1 time in total.
freddie
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

Post by freddie »

sfws wrote: Wed 23 Mar 2022 10:29 am @freddie, yes I could use terminal, but you don't explain why the GUI software can't open the files
You didn't ask for an explanation - you asked for the encoding which I supplied. I suggested the terminal as an alternative.
Freddie
Image
User avatar
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

Post by mcrossley »

sfws wrote: Wed 23 Mar 2022 10:29 am @mcrossley, utf-8 only uses one byte, so a Byte Order Mark is irrelevant, but could it or some other Microsoft feature, being added cause the problem?
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.
Phil23
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

Post by Phil23 »

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.
:Now: :Today/Yesterday:

Image

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:
Post Reply