make ToUpper, ToLower etc. handle unicode properly.

Change their names too.

R=rsc
DELTA=206  (123 added, 2 deleted, 81 changed)
OCL=34170
CL=34194
This commit is contained in:
Rob Pike 2009-09-01 11:06:28 -07:00
parent 1a05177d44
commit d80a177a9e
5 changed files with 183 additions and 62 deletions

View file

@ -474,7 +474,7 @@ func parseScript(line string, scripts map[string] []Script) {
if comment >= 0 {
line = line[0:comment]
}
line = strings.TrimSpaceASCII(line);
line = strings.TrimSpace(line);
if len(line) == 0 {
return
}