]> Cypherpunks repositories - gostls13.git/commit
strconv: add QuoteToGraphic and friends
authorRob Pike <r@golang.org>
Wed, 2 Sep 2015 22:08:24 +0000 (15:08 -0700)
committerRob Pike <r@golang.org>
Tue, 8 Sep 2015 17:33:17 +0000 (17:33 +0000)
commit74288f09dc0c29f8ce86a4ca44cb78828c0118ee
tree786f63210a777bfed19c395202604563d277abc5
parent9ac0fff70ab50acdb5a83a4682b76e4db16de6e5
strconv: add QuoteToGraphic and friends

This version of quoting allows runes in category Zs, such as the
ideographic space characters, to be passed through unquoted.

Still to do (maybe): A way to access this from Printf.

Updates #11511.

Change-Id: I3bae84b1aa0bc1b885318d3f67c5f451099a2a5a
Reviewed-on: https://go-review.googlesource.com/14184
Reviewed-by: Marcel van Lohuizen <mpvl@golang.org>
src/strconv/isprint.go
src/strconv/makeisprint.go
src/strconv/quote.go
src/strconv/quote_test.go