mirror of
https://github.com/golang/go
synced 2024-11-19 15:05:00 -07:00
8c62fc0ca3
Fix encoding of PAD (U+0080) which has the same value as utf8.RuneSelf being incorrectly encoded as \x80 in strings.Map due to using <= instead of a < comparison operator to check one byte encodings for utf8. Fixes #25242 Change-Id: Ib6c7d1f425a7ba81e431b6d64009e713d94ea3bc Reviewed-on: https://go-review.googlesource.com/111286 Run-TryBot: Martin Möhrmann <moehrmann@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> |
||
---|---|---|
.. | ||
builder_test.go | ||
builder.go | ||
compare_test.go | ||
compare.go | ||
example_test.go | ||
export_test.go | ||
reader_test.go | ||
reader.go | ||
replace_test.go | ||
replace.go | ||
search_test.go | ||
search.go | ||
strings_decl.go | ||
strings_test.go | ||
strings.go | ||
strings.s |