diff --git a/racket/src/io/path/path.rkt b/racket/src/io/path/path.rkt index ebdd2c5b80..1e2cb8c38d 100644 --- a/racket/src/io/path/path.rkt +++ b/racket/src/io/path/path.rkt @@ -23,7 +23,7 @@ (write-string "#<" port) (write-string (symbol->string (path-convention p)) port) (write-string "-path:" port)))) - (write-string (bytes->string/locale (path-bytes p)) port) + (write-string (bytes->string/locale (path-bytes p) #\?) port) (when mode (write-string ">" port))) #:property prop:equal+hash