• Rob Pike's avatar
    strconv: change Quote to be Unicode-friendly, · f2f3b8fa
    Rob Pike authored
    add QuoteToASCII.
    The Quote and QuoteRune functions now let printable
    runes (as defined by unicode.IsPrint) through.  When
    true 7-bit clean stuff is necessary, there are now two
    new functions: QuoteToASCII and QuoteRuneToASCII.
    
    Printf("%q") uses Quote. To get the old behavior, it
    will now be necessary to say
            Printf("%s", strconv.QuoteToASCII(s))
    but that should rarely be necessary.
    
    R=golang-dev, gri, r
    CC=golang-dev
    https://golang.org/cl/4561061
    f2f3b8fa
Name
Last commit
Last update
..
Makefile Loading commit data...
atob.go Loading commit data...
atob_test.go Loading commit data...
atof.go Loading commit data...
atof_test.go Loading commit data...
atoi.go Loading commit data...
atoi_test.go Loading commit data...
decimal.go Loading commit data...
decimal_test.go Loading commit data...
fp_test.go Loading commit data...
ftoa.go Loading commit data...
ftoa_test.go Loading commit data...
internal_test.go Loading commit data...
itoa.go Loading commit data...
itoa_test.go Loading commit data...
quote.go Loading commit data...
quote_test.go Loading commit data...
testfp.txt Loading commit data...