Skip to content

Support replacement string rather than erroring for invalid input? #8

@nigels-com

Description

@nigels-com

Some discussion over at fluent-bit about supporting more modes than erroring for invalid input.

Could we perhaps add a const char * replacement parameter, which would be an UTF-8 string to indicated invalid input characters. If NULL, then error. If empty-string, then skip and continue.

Would also need to factor into the length logic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions