On 2021/01/25 14:20, Ariel Burbaickij via Cygwin wrote:
and this is what I get upon attempt to submit
little sweet ö:
$(__fzf_cd__)Ignoring redcarpet-3.4.0 because its extensions are not
built. ...
1: from /usr/bin/fzf:929:in `get_input'
/usr/bin/fzf:929:in `ord': invalid byte sequence in UTF-8 (ArgumentError)
$
and I mean what I say, pressing ö immediately leads to it, no tricks, no
custom builds, no debugs enabled, no nothing.
---
Remember in my first post, I said that the codes you included were
not valid UTF-8. It sounds like your program wants UTF-8, but your
keyboard is putting out latin1.
Did you download that program I mentioned? In there you can select
the 'o' with diaeresis then copy/paste it into your program.
The character you are inserting into your program isn't encoded in
UTF-8, so I'm pretty sure that your keyboard isn't producing
UTF-8 encoding.
You mention that it does work after you restart your terminal.
Setting in locale don't take effect in the current terminal, but in
future ones that you start. So it is a good idea to restart your terminal
after you change locale.
I assume the error you are showing is from a window that wasn't restarted
after your locale was changed?
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation: https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple