Re: [racket-users] Non-ASCII characters stripped from input in macOS Terminal

2018-09-14 Thread Jon Kleiser
Thanks, Matthew! That was the final touch. I guess I will have to repeat that "ln -s" line after I upgrade Racket to the next version. Right? fredag 14. september 2018 15.55.57 UTC+2 skrev Matthew Flatt følgende: > > I forgot that Mac OS provides "/usr/lib/libreadline.dylib" as a symlink > to

Re: [racket-users] Non-ASCII characters stripped from input in macOS Terminal

2018-09-14 Thread Matthew Flatt
I forgot that Mac OS provides "/usr/lib/libreadline.dylib" as a symlink to libedit, so installing readline via Homebrew doesn't (and shouldn't) replace it. To point Racket at your Homebrew-installred readline, go to the "lib" directory adjacent to the "bin" directory that contains "racket", and

Re: [racket-users] Non-ASCII characters stripped from input in macOS Terminal

2018-09-14 Thread Jon Kleiser
Thanks for the info. However, there must be one detail I'm missing. I have done "brew install readline", and "raco pkg install readline-gpl", and when I now do "raco pkg show", I get this: Installation-wide: PackageChecksum Source main-distribution 34484fc4a83e3441...

Re: [racket-users] Non-ASCII characters stripped from input in macOS Terminal

2018-09-14 Thread Matthew Flatt
This is a problem with libedit, which Racket uses by default, and the version of libedit that comes with Mac OS is not built with Unicode support. If you insteall readline (e.g., through Homebrew), then installing the "readline-gpl" Racket package will use readline and support Unicode input. At

Re: [racket-users] Non-ASCII characters stripped from input in macOS Terminal

2018-09-14 Thread Jon Kleiser
My Terminal "Advanced" tab also says "Unicode (UTF-8)". When I run the PicoLisp REPL, then I have no translation and stripping, "høy" is entered as "høy", it seems. fredag 14. september 2018 10.55.28 UTC+2 skrev Jens Axel Søgaard følgende: > > > Den fre. 14. sep. 2018 kl. 10.28 skrev Jon Kleiser

Re: [racket-users] Non-ASCII characters stripped from input in macOS Terminal

2018-09-14 Thread Jens Axel Søgaard
Den fre. 14. sep. 2018 kl. 10.28 skrev Jon Kleiser : > If I enter this in the REPL in my macOS Terminal > (string->list "hei") > then I get '(#\h #\e #\i), as expected, but if I replace "hei" with > "høy", the input line suddenly looks like this > (string->list "h\U+FFC3\U+FFB8y") > and what I

[racket-users] Non-ASCII characters stripped from input in macOS Terminal

2018-09-14 Thread Jon Kleiser
If I enter this in the REPL in my macOS Terminal (string->list "hei") then I get '(#\h #\e #\i), as expected, but if I replace "hei" with "høy", the input line suddenly looks like this (string->list "h\U+FFC3\U+FFB8y") and what I get back is '(#\h #\y). The letter "ø" has been stripped away. The