Skip to content

feat(stdlib): Function for Converting Character Encodings #1155

@powerumc

Description

@powerumc

Our system utilizes both legacy systems and the latest Linux distributions. Occasionally, we encounter systems that operate with non-UTF-8 settings. When logs are sent via TCP from these systems, all Korean strings encoded in EUC-KR become corrupted.

To address this issue, I've created a functions.
The function signature is as follows.

decode_charset(value, from_charset)
encode_charset(value, to_charset)

If this addition is beneficial for the VRL project, I would like to submit a pull request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: featureA value-adding code addition that introduce new functionality.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions