diff options
| author | Stephen Ma <stephenm@golang.org> | 2010-02-28 21:15:56 +1100 |
|---|---|---|
| committer | Stephen Ma <stephenm@golang.org> | 2010-02-28 21:15:56 +1100 |
| commit | 30a15dab9329d1dafbdd47b5ec321476d9d36d38 (patch) | |
| tree | b5f3af551d4d961282127d57f25655a0c836df5e /src/pkg/http/requestwrite_test.go | |
| parent | 15700ad382d3fc4fed3f6e7b0f8cc47241335385 (diff) | |
| download | golang-30a15dab9329d1dafbdd47b5ec321476d9d36d38.tar.gz | |
Count utf8 runes, not bytes when determining string width. Note
that pad() still counts bytes, but it's currently only used for
1 byte runes.
Fixes issue 612.
R=r
CC=golang-dev
http://codereview.appspot.com/217064
Committer: Rob Pike <r@golang.org>
Diffstat (limited to 'src/pkg/http/requestwrite_test.go')
0 files changed, 0 insertions, 0 deletions
