Re: Setting the Gogo shell to UTF-8?

2022-09-15 Thread Raymond Augé
If I had to guess it would have to do with processing pure bytes without considering encoding and hence multi-byte characters. I'd be willing to guess that's a fundamental implementation flaw potentially down to the telnet protocol itself. :( On Thu, Sep 15, 2022 at 3:46 AM David Leangen

Setting the Gogo shell to UTF-8?

2022-09-15 Thread David Leangen (OSGi)
Hi! I am having trouble using UTF-8 characters with the Gogo Shell. I have implemented a command “register” that takes a string argument. I try to run it like this: g! register 何か漢字で書いてる言葉 The string gets parsed as "何か漢字で書いてる言葉” instead of “何か漢字で書いてる言葉”. Not even sure