Skip to content

Commit e896d22

Browse files
committed
Add a note about Unicode characters
1 parent b485926 commit e896d22

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1067,6 +1067,7 @@ Comparison:
10671067
##### `String#casecmp` vs `String#casecmp?` vs `String#downcase + ==` [code](code/string/casecmp-vs-downcase-==.rb)
10681068

10691069
`String#casecmp?` is available on Ruby 2.4 or later.
1070+
Note that `String#casecmp` only works on characters A-Z/a-z, not all of Unicode.
10701071

10711072
```
10721073
$ ruby -v code/string/casecmp-vs-downcase-\=\=.rb

0 commit comments

Comments
 (0)