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 <jon.k...@usit.uio.no > <javascript:>>: > >> 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 same happens with letters "æ" and "ø", typical Norwegian >> characters. >> Is there something I can do to make the macOS Terminal REPL handle these >> Norwegian characters better? >> In the DrRacket REPL this strange translation and stripping does not >> happen. >> > > FWIW It is more a terminal problem than a Racket problem. > If I paste høy into the terminal, I see h\U+FFC3\U+FFB8y. > My "Text Encoding" in the "Advanced" tab in the settings for terminal says > "Unicode (UTF-8)". > > -- > Jens Axel Søgaard > > -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.