Project

General

Profile

Actions

Bug #10701

closed

chirp doesn't recognize BOM in UTF-8 files

Added by Rich Messeder 10 months ago. Updated 10 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
07/04/2023
Due date:
% Done:

100%

Estimated time:
Chirp Version:
next
Model affected:
all
Platform:
Windows
I read the instructions above:

Description

I have my editor set to change unknown file types that are UTF-8 to use a BOM. Then when I saved the config file, CHIRP threw a mysterious (at the time) error, saying that the first line had an error. Of course, the BOM didn't appear in the editor, so I was puzzled at first. When I twigged to the possible cause, I toggled the BOM, and that worked. CHIRP does the same for csv files.

Actions #1

Updated by Dan Smith 10 months ago

  • Assignee set to Dan Smith
  • Target version set to chirp-py3

Thanks Rich, I should have looked at my other emails before responding on the list :)

Can you attach a file that causes the problem just so I can make sure I'm testing what you're using? UTF-8 and UTF-16 have different BOMs.

Actions #2

Updated by Dan Smith 10 months ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF