Skip to content
This repository has been archived by the owner on Oct 19, 2021. It is now read-only.

error running query { [error: invalid byte sequence for encoding "UTF8": 0xeb 0x6c 0x20] #5

Open
df7cb opened this issue Apr 16, 2017 · 0 comments

Comments

@df7cb
Copy link
Member

df7cb commented Apr 16, 2017

If a user's ircname isn't valid UTF-8, we fail login using a non-helpful error message on the user's end: "An error occured submitting your information". Internally, it's "invalid byte sequence for encoding "UTF8": 0xeb 0x6c 0x20]".

The internet (brianc/node-postgres#906) says the database config would accept client_encoding, but that didn't work here. (The user reported sending the POST request, just not getting a response at that point. Not sure if the setting made any difference, though.)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant