Skip to content

Unable to add copyright to file with UTF-8 characters #42

@colindean

Description

@colindean

I've got a couple of Rust source files (added syntax in #41) with the non-ASCII character for ellipses:. copyright-header doesn't seem to like that:

SKIP src/logging.rs; invalid byte sequence in US-ASCII
SKIP src/update.rs; detected existing license
SKIP src/main.rs; invalid byte sequence in US-ASCII

It's not a huge deal for us because it's only two files but I'm sure others might hit this at some point. I can't quite tell from the error where in the process the file is being opened as US-ASCII.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions