Skip to content

Unable to input Nordic characters #480

@axolul

Description

@axolul

Enviroment:

  • Windows 10 Pro 22H2
  • Python 3.11.6
  • inquirer 3.1.3

Code:

import inquirer

questions = [
    inquirer.Text('newUUID', message="Anna uusi UUID (paina Enter pitääksesi samana): "),
    inquirer.Text('newName', message="Anna uusi nimi (paina Enter pitääksesi samana): "),
    inquirer.Text('newPrice', message="Anna uusi hinta (paina Enter pitääksesi samana): "),
    inquirer.Text('newCategory', message="Anna uusi kategoria (paina Enter pitääksesi samana): "),
]

We are using inquirer in our school project. It shows Finnish/Nordic characters ä, ö and å normally when it prompts for something. But then the command line goes nuts when you try to input the same characters.

In the picture attached, I inputted "testöäåtest". As you can see, the inquiry line starts to multiply and it goes all wrong from there.

nordic_characters

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already existsupstream_issueThis issue is caused by an upstream package

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions