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 1.10.1.763 and the environment variable values below, I got the desired result:
$ env | egrep '(LC|LANG|TERM)'
TERM_PROGRAM=Apple_Terminal
TERM=xterm-256color
TERM_PROGRAM_VERSION=421.2
TERM_SESSION_ID=51C20403-498A-4E4E-ABFE-B59367276B5D
LANG=en_US.UTF-8