Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bvsn opened this issue Jun 11, 2021 · 0 comments

Comments

@bvsn
Copy link

bvsn commented Jun 11, 2021

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", "йцуке нгш щзхъфыв"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant