Skip to content

":=" doesn't send non-ascii characters as "raw" #814

@wataash

Description

@wataash

On my shell and terminal, non-ascii arguments are encoded in UTF-8:

$ echo -n '{"a": "あ"}' | xxd
00000000: 7b22 6122 3a20 22e3 8182 227d            {"a": "..."}

The document says := is "Raw JSON fields", so I expected a:='"あ"' to send 0x 7b22 6122 3a20 22e3 8182 227d ({"a": "あ"}) as is, but actually it ensures ascii, sending {"a": "\u3042"}.

I think it's counter-intuitive, and should be warned in stderr.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions