Live data from Hacker News

/I Considered Harmful

blog.pentesterlab.com

1–2 of 2 posts

Re: /I Considered Harmful

#2
On the topic of case and unicode, it's also important to remember that, somewhat surprisingly, the number of characters can change when a change in case occurs:

  $ irb
  >> puts RUBY_VERSION
  2.6.5
  >> "ß".chars.size
  => 1
  >> "ß".upcase.chars.size
  => 2