mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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:
parent
1a05177d44
commit
d80a177a9e
5 changed files with 183 additions and 62 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue