lukeed / lukeed/ley

Support showing messages in other character encodings

Open
#26 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
271
Forks
13
PR merge metrics
No merged PRs in 30d

Description

On Windows, running `ley up` results in the `�` character being displayed for non-ASCII characters:

![image](https://user-images.githubusercontent.com/1935696/173352447-aca2cce0-2b04-40f1-b2a4-1da04aeaaee8.png)

To reproduce:

1. In the `postgresql.conf` configuration file, change the value of `lc_messages` to `Russian_Ukraine.1251`
2. Create a connection configuration error (such as wrong database username or password)
3. Run `ley up`

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the `ley up` command and follow how connection configuration errors are captured and displayed. Reproduce the issue on Windows with PostgreSQL `lc_messages` set to `Russian_Ukraine.1251`; done means non-ASCII error messages display correctly instead of as `�`.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
database
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.