question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Win7: Cyrillic input with shift partially does not work

See original GitHub issue

Environment data

PS version: 5.1.14409.1012
PSReadline version: 2.0.0-beta3
os: 6.1.7601.17514 (win7sp1_rtm.101119-1850)
PS file version: 10.0.14409.1005 (rs1_srvoob.161208-1155)

Steps to reproduce or exception report

Installed latest PSReadline under PSv5.1 / Win7

switch keyboard to russian input, type:

  • without shift - йцукенгшщзхъ
  • should be (without shift but with caps) - ЙЦУКЕНГШЩЗХЪ
  • with shift only - ЦУШЩХЪ
  • with caps + shift - цукшщхъ

and many other symbols got eaten too

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:15 (7 by maintainers)

github_iconTop GitHub Comments

9reactions
megapro17commented, May 22, 2020

I’m on 2004 build and still not fixed, PSReadLine version is still 2.0.0 I had to update it manually, and bug is gone Run this line in PowerShell from administrator: Install-Module PSReadLine -force

2reactions
lzybkrcommented, Dec 2, 2018

#822 fixes just the problem initially reported here.

The rendering of ? (and it’s just a rendering problem, the characters are correct if executed) was introduced by #771, the workaround for now is to run:

[Console]::OutputEncoding = [System.Text.Encoding]::UTF8

There is one additional problem if you start PowerShell with the Cyrillic keyboard - PSReadLine will fail to load, and the only workaround right now is to start PowerShell with a different keyboard.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Switch keyboard language Right Alt - Shift is not work
In Windows 7 by default, Left Alt+Shift is used to Switch the input language when multiple input languages are enabled and Right or...
Read more >
Language changes when pressing Shift+Space (Windows ...
1 Answer 1 · To access the settings for the language bar, you can either · Once you have the settings open, go...
Read more >
How can I use Unicode characters on the Windows ...
I work in Windows-1252. As I already said: To input/output Unicode in a console, one does not need to set the code page....
Read more >
WinCompose | Easy typing of special characters on Windows™
A simple one like “ff” which is “compose key + f + f” just results in a windows system sound. And eg. the...
Read more >
NVDA 2023.1 User Guide
The "Welcome to NVDA" dialog appears, and NVDA reads a welcome message. The focus is on the "Keyboard Layout" drop-down. By default, "Desktop"...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found