Skip to content

telegraf.conf cannot be parsed if saved with notepad (UTF8 BOM) #1378

Closed
@StianOvrevage

Description

When editing telegraf.conf with notepad the file is encoded in UTF-8 BOM and telegraf cannot get past the BOM and quits with:

Error parsing telegraf.conf, toml: line 1: parse error

So, it would be nice to have the config loader/parser accept UTF-8 BOM encoded files.

Metadata

Assignees

No one assigned

    Labels

    bugunexpected problem or unintended behaviorplatform/windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions