From 141589ddd3d658b41c8326d364bea441593fbac4 Mon Sep 17 00:00:00 2001 From: Matthew Butterick Date: Fri, 14 Dec 2018 12:27:04 -0800 Subject: [PATCH] xstring: default to utf8 encoding --- xenomorph/xenomorph/string.rkt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xenomorph/xenomorph/string.rkt b/xenomorph/xenomorph/string.rkt index f2cabbea..77bf9d86 100644 --- a/xenomorph/xenomorph/string.rkt +++ b/xenomorph/xenomorph/string.rkt @@ -116,7 +116,7 @@ https://github.com/mbutterick/restructure/blob/master/src/String.coffee (define (+xsymbol [len-arg #f] [enc-arg #f] #:length [len-kwarg #f] #:encoding [enc-kwarg #f]) (define len (or len-arg len-kwarg)) - (define encoding (or enc-arg enc-kwarg 'ascii)) + (define encoding (or enc-arg enc-kwarg 'utf8)) (xsymbol len encoding)) (module+ test