Skip to content
This repository was archived by the owner on Oct 19, 2021. It is now read-only.
This repository was 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

@df7cb

Description

@df7cb

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.)

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