]> Cypherpunks repositories - gostls13.git/commit
cmd/gc: string conversion for surrogates
authorRob Pike <r@golang.org>
Thu, 30 Aug 2012 18:16:55 +0000 (11:16 -0700)
committerRob Pike <r@golang.org>
Thu, 30 Aug 2012 18:16:55 +0000 (11:16 -0700)
commit363ec80dec5908ed7feebba448dc8e5b2cf90740
tree41fefee45d70de22da282fd8593b2912ea725d18
parentb7627d3d1f238e484d08bb8abb770cbe91482bc4
cmd/gc: string conversion for surrogates
This is required by the spec to produce the replacement char.
The fix lies in lib9's rune code.

R=golang-dev, nigeltao, rsc
CC=golang-dev
https://golang.org/cl/6443109
src/lib9/utf/rune.c
src/pkg/unicode/utf8/utf8_test.go
test/string_lit.go