Skip to content

ERROR: invalid byte sequence for encoding "UTF8": 0xa5 or some string convert as true #3

@bvsn

Description

@bvsn

I've got an issue with the Cyrillic symbols with the length greater than 16

select msgpack_decode(msgpack_encode(jsonb_build_object(
    'name', 'йцуке нгш щзхъфыв'
)));

Interesting, but if you remove just one symbol, the string will converts correctly:

select msgpack_decode(msgpack_encode(jsonb_build_object(
    'name', 'йцуке нгш щзхъфы'
)));

With the 17 symbols I've got an invalid result:

{"name": true}

But should be:

{"name", "йцуке нгш щзхъфыв"}

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