From 5ed105ef8a159131898be2afdd16a459f1758adf Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Tue, 16 Feb 2021 17:24:48 -0700 Subject: [PATCH] reference: fix docs on `get-output-string` --- pkgs/racket-doc/scribblings/reference/string-ports.scrbl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/racket-doc/scribblings/reference/string-ports.scrbl b/pkgs/racket-doc/scribblings/reference/string-ports.scrbl index 9894e605ca..5daefcdf9e 100644 --- a/pkgs/racket-doc/scribblings/reference/string-ports.scrbl +++ b/pkgs/racket-doc/scribblings/reference/string-ports.scrbl @@ -139,7 +139,7 @@ passing a second argument to @racket[subbytes].} (get-output-bytes op)] @defproc[(get-output-string [out (and/c output-port? string-port?)]) string?]{ -Returns @racket[(bytes->string/utf-8 (get-output-bytes out) #\?)].} +Returns @racket[(bytes->string/utf-8 (get-output-bytes out) @#,racketvalfont{#\uFFFD})].} @examples[ (define i (open-input-string "hello world"))