I suspect the root cause of the difference might have to do with things like the operating system, the JDK version, whether the REPL is run inside of an IDE like VSCode with Calva, Emacs with CIDER, or at a terminal, and perhaps even environment variable settings used by the JVM for determining character sets like LC, LANG, TERM, etc. for macOS and Linux.
At least for macOS 10.14.6 built-in Terminal, AdoptOpenJDK 15.0.1, and a REPL started in that Terminal using
clojure version 126.96.36.1993 and the environment variable values below, I got the desired result:
$ env | egrep '(LC|LANG|TERM)'