]> Cypherpunks repositories - gostls13.git/commit
Unicode: provide an ability to supplement the case-mapping tables
authorRob Pike <r@golang.org>
Wed, 31 Mar 2010 00:51:03 +0000 (17:51 -0700)
committerRob Pike <r@golang.org>
Wed, 31 Mar 2010 00:51:03 +0000 (17:51 -0700)
commit4e2b7f8f41a8ab58489354ff0e2c10a867a4a354
tree58a577de4e9ea917e8a68588526a537e5c0b62bd
parentc2f3737cb01bf35991a775c14cd28e5a2d3a102e
Unicode: provide an ability to supplement the case-mapping tables
in character and string case mapping routines.

Add a custom mapper for Turkish and Azeri.

A more general solution for deriving the case information from Unicode's
SpecialCasing.txt will require more work.

Fixes #703.

R=rsc, rsc1
CC=golang-dev, mdakin
https://golang.org/cl/824043
src/pkg/strings/strings.go
src/pkg/strings/strings_test.go
src/pkg/unicode/Makefile
src/pkg/unicode/casetables.go [new file with mode: 0644]
src/pkg/unicode/letter.go
src/pkg/unicode/letter_test.go