You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It assumes the input encoding is utf8.
I'm using Windows Terminal. And chcp
PS C:\Windows\system32> chcp
Active Codepage: 850.
shows default encoding is Codepage 850 == DOS-Latin-1.
If I'm entering characters (in a textarea widget) on my german keyboard like ß, ö, ä, ü this leads to utf8.RuneError.
but this is no good nor general solution.
I assume a good solution would include using something like GetConsoleCP()
Futhermore pressing buttons on my keyboard like POS1 / END inserts a bracket to the textarea which suggests parsing of control characters does not work.
Is this a known problem?
The text was updated successfully, but these errors were encountered:
Futhermore pressing buttons on my keyboard like POS1 / END inserts a bracket to the textarea which suggests parsing of control characters does not work.
Bubbletea does not respect the current codepage while parsing the console input from a user:
bubbletea/key.go
Line 515 in 6243433
It assumes the input encoding is utf8.
I'm using Windows Terminal. And
chcp
shows default encoding is
Codepage 850
==DOS-Latin-1
.If I'm entering characters (in a
textarea
widget) on my german keyboard likeß, ö, ä, ü
this leads toutf8.RuneError
.I could fix key.go just for my system by using:
instead of
but this is no good nor general solution.
I assume a good solution would include using something like
GetConsoleCP()
Futhermore pressing buttons on my keyboard like POS1 / END inserts a bracket to the textarea which suggests parsing of control characters does not work.
Is this a known problem?
The text was updated successfully, but these errors were encountered: