adamyg / mcwin32

Midnight Commander for Windows
https://sourceforge.net/projects/mcwin32/
204 stars 13 forks source link

Can't enter some characters. Without @ I can't login to my remotes. #52

Closed harakiwi closed 7 months ago

harakiwi commented 1 year ago

4.8.27 installed using winget

tested on Windows 10 Pro (set to German, Germany) and a Win 10 (VM) set to English

some other symbols I can't type: € Ä Ö Ü ß \ §

I can't even copy/paste them what makes me think bug. Do I have to change something on my end or is this a bug?

I tried to search that problem but I might not know the correct term so Id didn't find anything useful.

adamyg commented 1 year ago

output is wide-char/utf-8, whereas input is currently not. keyboard handling internals aren't Unicode safe, need to emulate utf-8

buzzqw commented 9 months ago

same problem, following...

adamyg commented 9 months ago

build-229 released, utf-8 input enabled

buzzqw commented 9 months ago

with version 229 i am unable to input "@" for remote session command even copy/paste will trim it away

with 229 version i can input ùàò characters, BUT not @

adamyg commented 9 months ago

ShellLink Please confirm dialog to which you are referring? (screen shot if possible) Confirmed that none of "FTP", "SFTP", or "SSH" popups nor command line have issues with @ input.

WIn10 Pro (ita), guessing locale related: code-page? font? Code page 1012, for example doesn't have an "@"

buzzqw commented 9 months ago

both left and right plane, FTP, SHELL, SFTP unable to input @ . neither able to paste "@" other special characters are inputable |!"£$%&/()è+òàù§°ç win10 pro (ita)

immagine

"@" not avaiable

immagine

adamyg commented 9 months ago

How are you exec'ing: directly, power-shell, console-legacy, console-tty or other env? Shall attempt to emulate.

buzzqw commented 9 months ago

typing MC directly form CMD or POWERSHELL -> no @ clicling on mc.exe from explorer > no @

but from CMDER, but only with ALT+64 , is working!

immagine

it's working even with "Alternative font" disabled

adamyg commented 9 months ago

Not able to reproduce issue,

image

adamyg commented 8 months ago

KB layout in use?

buzzqw commented 8 months ago

onfirm Input=UTF-8 (Display Bits) > yes, 8 bit Console Font in use > tested with lucida and consolas (and courier new..) VM, Latest Windows build ? > latest windows home build, fully update, no VM KB layout in use? Italian

BHH

harakiwi commented 8 months ago

can confirm. Still a problem on my end too.

4.8.30 - build 229 - downloaded the ZIP, extracted the whole folder and run the exe. No changes to the config afaik.

Alt Gr + Q does not input @ copy & paste (right click and CTRL+V) does not input @ to mc at any point (the console $ line and the SFTP login popup) Alt + 64 on Numpad does not input the symbol

German Win 11 Pro 22631.3007 German Keyboard layout. real USB kb and virtual kb both tried.

adamyg commented 8 months ago

AltGr translation issue

harakiwi commented 8 months ago

⇮ AltGr (Alternate Graphic)

Same as CTRL + ALT

buzzqw commented 7 months ago

confirm fixed with 230 build! thanks

BHH